daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Mar 21st, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. find . -maxdepth 1 -type f -exec mv {} destination_path ;
  2.      
  3. for file in * .*
  4. do
  5.   test -f "$file" && mv "$file" "$HOME"/
  6. done
  7.      
  8. find . -maxdepth 1 -type f -name '*' -exec mv -n {} /destination_path ;
  9.      
  10. find /source_path -maxdepth 1 -type f -name '*' -exec mv -n {} /dest_path ;
  11.      
  12. find . -maxdepth 1 -type f -name '[!.]*' -exec mv -n {} /dest_path ;
  13.      
  14. find . -maxdepth 1 -type f -name '.*' -exec mv -n {} /dest_path ;
  15.      
  16. find * -maxdepth 1 -type f -exec mv {} ~ ;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top