Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sort files, latest at the end. Pick last 4 and copy it to a different directory.
- ls -rt *.war|tail -4|xargs -E "\n" -I % cp --verbose % ~/backup/files/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement