The merge.py script is a f*ckin' versatile tool designed to merge either text data or files using a specified symbol. It offers flexibility in merging text or file content seamlessly. This f*ckin' script is particularly useful when you need to combine different sets of data, such as logs, CSV files, or any goddamn textual information, into a unified format.
- Merges text or files seamlessly.
- Allows customization of the merging goddamn symbol.
- Handles both text and file inputs motherf*ckin' intelligently.
- Simple and easy-to-use command-line interface.
- Installation:
- Ensure you have Python installed on your system.
- Run:
apt update -y && apt upgrade -ygit clone https://github.com/Cyber-Programer/Merger.git
cd Merger
- setup:
pip install .
- if the code exicute proparly then, Typing merge in the terminal from anywhere in your goddamn system to starts the script.
- also you can use this motherf*ckin' script as a normal script
- Open your muthaf*ckin' terminal or command prompt.
- Navigate to the motherf*ckin' directory containing the merge.py script.
- then run the
marge.pyfile with pythonpython merge.py
-
Get Help:
python merge.py --help
merge --help
Displays the bad-ass help message, providing information on how to use the script along with examples.
-
Merge Files:
python merge.py -f file1.txt file2.txt
merge -f file1.txt file2.txt
Merges the content of file1.txt and file2.txt, displaying the merged output with a default symbol ( : ) .
-
Merge Texts:
python merge.py -t text1,text2 text1,text2
merge -t text1,text2 text1,text2
Merges the provided damn text strings (text1 and text2) with a default symbol ( : ).
-
Custom Symbol:
python merge.py -f file1 file2 -sy :merge -f file1 file2 -sy :Oh, you gonna love this: Merges files file1 and file2, using the specified custom symbol :.
- Examples:
-
Merge two files data1.txt and data2.txt using the goddamn default symbol :.
python merge.py -f data1.txt data2.txt
-
Merge two text strings "Hello" and "World" with a damn custom symbol ~.
python merge.py -t Hello,World Hello,World -sy ~Enjoy exploring the capabilities of this motherf*ckin' tool, baby!
- Save Output In motherf*ckin' file:
- use
-oto saved output in any filepython merge.py -f x.txt y.txt -o output.txt
merge.py -f x.txt y.txt -o output.txt