Copy many files when argument list is too long


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. find . -type f -name '*' -exec cp {} /home/target_dir/. \;

URL: http://www.linuxjournal.com/article.php?sid=6060

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.