New answers tagged

2

I suggest you to use rsync instead of cp, if you can it has the option -m that will exclude empty folders, example: rsync -am <origin> <destination> Explanation of the command in explainshell.com I'm using the -a option because it does a lot of nice default action, but if you want you can also use the -r option, that will set the recursive ...



Top 50 recent answers are included