find . -name *.jpg -mtime +5 -print -exec rm {} \;
# starting from the current directory
# also print the file path
# note spaces around rm and {}
Saturday, December 15, 2012
Subscribe to:
Post Comments (Atom)
Tips and tricks on installing and configuring some popular software that I use for my various projects. Mostly for myself, but I'll be happy if it could help you too
No comments:
Post a Comment