Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find . -maxdepth 1 -type f -exec mv {} destination_path ;
- for file in * .*
- do
- test -f "$file" && mv "$file" "$HOME"/
- done
- find . -maxdepth 1 -type f -name '*' -exec mv -n {} /destination_path ;
- find /source_path -maxdepth 1 -type f -name '*' -exec mv -n {} /dest_path ;
- find . -maxdepth 1 -type f -name '[!.]*' -exec mv -n {} /dest_path ;
- find . -maxdepth 1 -type f -name '.*' -exec mv -n {} /dest_path ;
- find * -maxdepth 1 -type f -exec mv {} ~ ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement