Answer the question
In order to leave comments, you need to log in
Linux copy files excluding files by list?
You need to copy files using the exclusion file ignor.list
ignor.list file contents
3.mp3
4.mp3
6.mp3
To get it like this
dir1 dir2
1.mp3 1.mp3
2.mp3 2.mp3
3.mp3 5.mp3
4.mp3 7.mp3
5.mp3
6.mp3
7.mp3
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question