Skip to main content

Questions tagged [merge]

Merging is the operation of taking two or more source contents to produce a single one. Things that are commonly merged are files (source code, configuration, etc.), branches in a version control system, redundant entries in databases, etc.

2 votes
1 answer
64 views

git, merge changes from another (related) repo (says already up to date)

This is clearly one of those "I've missed the basic principle" type issues. Luckily since everything is now "on the web" I can be very specific and not need to say "for ...
GraemeV's user avatar
  • 178
4 votes
1 answer
146 views

Merging with JQ

I am looking to merge two different JSON files into one file - file 1 [ { "namespace": "lerjr-rb26-sandbox-keycloak", "name": "keycloak", "...
Victor Gonyo's user avatar
1 vote
1 answer
44 views

While sending mail, the body of the mail lines are getting merged in unix

I have to send an email from my development server, the mail body is having some 20 lines. But Few lines are getting merged. I have tried no of scenarios (used mailx,mail & sendmail also) to avoid ...
user609203's user avatar
1 vote
0 answers
33 views

How to merge the content of multiple subdirectories into another directory where destination contains the same directory name using a mount / union?

In the example below, exdir is a directory containing many subdirectories. The contents of each subdirectory, which are directories themselves, should be merged with /su/destdir, which already contain ...
Dr. Barry's user avatar
0 votes
1 answer
68 views

How to merge all folders in one directory without merging their subfolders?

I have folders arranged as such: Directory -Subdirectory A 1 --Subdirectory B 1 --Subdirectory B 2 -Subdirectory A 2 --Subdirectory B 3 --Subdirectory B 4 How do I merge all the Subdirectory As into ...
eldomtom2's user avatar
3 votes
1 answer
2k views

How to merge multiple mp4 files as chapters in a final mp4?

I have folder with files named like 0001.mp4, 0002.mp4, ... I want to merge all these files to a combined.mp4, and I want it to have an internal chapter marks. It is convenient when playing for ...
Ashark's user avatar
  • 979
0 votes
2 answers
472 views

Merge files with same name in multiple subfolders

I have multiple folders with a lot of files, Each folder has txt files of the same name, I want to merge files with the same name into one txt file. Example: folder/ -sub1 -sub2 -sub3 ...
Roq's user avatar
  • 15
4 votes
1 answer
1k views

Merge JSON arrays on dissimilar keys

I have 2 JSON files with arrays (extracted from restAPI using curl in bash). Both files are arrays with a .result object at the top which needs to remain. The first has a .name field and many (over ...
BrandonH's user avatar
0 votes
2 answers
144 views

Merge two two-column files based on a common first column prefering values from the second column of a given file

I have two text files 1.txt and 2.txt that contain two tab separated columns. The first column of both files consists of tokenized text. In both files, the first column is the same. The word order ...
winety's user avatar
  • 3
0 votes
3 answers
176 views

I want to merge files starts with same name

I have multiple files, more than 100 like below and I need to merge same name files in to 1 file by concatenating them together. AB_HCE_USERS_20221228_001.txt AB_HCE_USERS_20221228_002.txt ...
s v's user avatar
  • 27
0 votes
3 answers
65 views

How to perform a "grouped merge" of three files, while omitting the first few lines of each?

This is my reproducible example file01.txt line to skip line to skip line to skip line to keep file 01 heading 1 in the form: 2017243 01 2017243 01 data 1 file 01 heading 2 in the form: 2017243 02 ...
maxbre's user avatar
  • 5
0 votes
1 answer
239 views

Diffing two directories well

I need to diff (and merge) two directories (practically same content, with a few extra inserted lines in one set of files). Alas, all diff programs I tried (kompare, diffmerge, kdiff3, diffuse, xxdiff,...
vishvAs vAsuki's user avatar
4 votes
3 answers
670 views

Merging two non-git-based text files with similar semantics to the depiction of git merge conflicts

I would like to merge two non-git-based text files using semantics that are similar to to how git depicts "merge conflicts". For example, suppose I have two text files with similar but not ...
HippoMan's user avatar
  • 657
0 votes
1 answer
297 views

How to merge text files horizontally on a csv file?

I have several text files that consist of different values. I want to merge all of these files together horizontally and to output a csv file. File.1.txt 1 2 3 4 5 . . . File_2.txt 1 2 6 7 8 . . . ...
lotus's user avatar
  • 5
-2 votes
2 answers
283 views

Merging multiple csv files without data shifting to the left

Im trying to merge several csv files into one big file. All these files have different column lengths and others only have a header (no data). When I use paste -d "," file1.csv file2.csv ...
Omar Maximo's user avatar

15 30 50 per page
1
2 3 4 5
13