| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The merge.py script is a 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 script is particularly useful when you need to combine different sets of data, such as logs, CSV files, or any textual information, into a unified format.
apt update -y && apt upgrade -y git clone https://github.com/Cyber-Programer/Merger.gitcd Mergerpip install . python merge.pyGet Help:
python merge.py --help merge --helpDisplays the 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.txtMerges 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,text2Merges the provided text strings (text1 and text2) with a default symbol ( : ).
Custom Symbol:
python merge.py -f file1 file2 -sy : merge -f file1 file2 -sy :Merges files file1 and file2, using the specified custom symbol :.
Merge two files data1.txt and data2.txt using the default symbol :.
python merge.py -f data1.txt data2.txt Merge two text strings "Hello" and "World" with a custom symbol ~.
python merge.py -t Hello,World Hello,World -sy ~Enjoy exploring the capabilities of this tool!
python merge.py -f x.txt y.txt -o output.txtmerge.py -f x.txt y.txt -o output.txt| Back | FazBrowse Home | New Git URL |