Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Do something with all files except the newest 10
- find . -type f -printf $'%T@\t%p\n'|
- sort -n |
- cut -f2- |
- head -n -10 |
- xargs …
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement