Hot answers tagged programming
You don't specify in your question if it is a requirement to preserve the directory structure in the copy or if you just need a copy of the files. To simply copy all the files not named *.data you could use this: find . -type f ! -name '*.data' | xargs cp -t ../destination_dir/ On the other hand if you want to preserve the directory structure you could ...
Only top voted, non community-wiki answers of a minimum length are eligible