Hi there,
I have multiple directories, each one with the exact same structure and file names. for instance :
dir1/a/a/00
dir2/a/a/00
etc
I have a bunch of files (more than 50k per directory).
What I would like is to paste them using paste command, without any separator (for that I saw how to do). The annoying thing is that I have no idea how to perform such an action on each file recursively.
The output would be
dir3/a/a/00
Containing the pasted data from dir1/a/a/00 and dir2/a/a/00
Would you have an idea how to perform this ?
Thank you for your enlightments.
Regards
I have multiple directories, each one with the exact same structure and file names. for instance :
dir1/a/a/00
dir2/a/a/00
etc
I have a bunch of files (more than 50k per directory).
What I would like is to paste them using paste command, without any separator (for that I saw how to do). The annoying thing is that I have no idea how to perform such an action on each file recursively.
The output would be
dir3/a/a/00
Containing the pasted data from dir1/a/a/00 and dir2/a/a/00
Would you have an idea how to perform this ?
Thank you for your enlightments.
Regards