find and remove old compressed backup files

find /home -type f \( -name "*.sql.gz" -o -name "*.tar.gz" -mtime +10 \) -exec rm -rf {} \;
remove all compressed files in /home/ folder not created in the last 10 days

1
By: shantanuo
2020-02-19 10:49:28

What Others Think

I could not understand this code. It seems quite difficult to absorb for me but I shall consult with my https://assignmentjunkie.co.uk/essay-writer team to take a review of this post. Thanks for sharing this one.
JosephKnight · 82 weeks ago
I also looking for the promo code because I need to order a research paper form https://assignmentjunkie.co.uk/dissertation-writing-service/ website. So, I want to use a promo code for some discounts on it. If you know any code please tell us?
RobertJSawyer · 81 weeks ago
I was having the same issue and was looking online for help when I landed on this post. If you want some houses for sale in point pleasant nj I would suggest you visit our website as they will show you properties available in the USA. If you need any help please visit our website.
Mikekoenrealty · 80 weeks and 1 day ago
The ????? ???? ?????, whether it is a passing screen, a control problem, a charging port, a broken screen, water damage, headphones or miscellaneous problems, or a programming problem or equipment that we can do everything
Derrick · 74 weeks and 3 days ago
The < ahref="https://mrfixkuwait.com/playstation-repair/">Playstation Repair whether it is a passing screen, a control problem, a charging port, a broken screen, water damage, headphones or miscellaneous problems, or a programming problem or equipment that we can do everything
Derrick · 74 weeks and 3 days ago
The < a href="https://mrfixkuwait.com/playstation-repair/">Playstation Repair whether it is a passing screen, a control problem, a charging port, a broken screen, water damage, headphones or miscellaneous problems, or a programming problem or equipment that we can do everything
Derrick · 74 weeks and 3 days ago
The https://mrfixkuwait.com/playstation-repair/ Repair whether it is a passing screen, a control problem, a charging port, a broken screen, water damage, headphones or miscellaneous problems, or a programming problem or equipment that we can do everything
Derrick · 74 weeks and 3 days ago
Want to know about [url=http://scamfighter.net/review/papersowl.com]papers owl prices[/url]? Visit the website and know how much they charge for their services.
RonBlade · 71 weeks and 2 days ago
great content! will recommend this site to my friends breast implants albuquerque cost
looneyhans · 47 weeks and 6 days ago
Thanks for the post Best regards Christopher
ChristopherCole · 47 weeks and 3 days ago
nice painterbillingsmt.com
looneyhans · 43 weeks and 2 days ago
thanks for this cool post! waxingcoloradosprings.com
Killersmile · 42 weeks and 6 days ago
This is exactly what I was looking for. Thank God I found this site! Thanks for sharing this laser hair removal
idasanka · 38 weeks and 4 days ago
guitar lessons boise Whoa! I just can't believe I found this site
yeoyeo · 37 weeks ago
thank you for this! really appreciate you doing this stairs
sammm · 33 weeks and 6 days ago
How can I get more infos about that products financial advisor toledo
aegyjingoo · 24 weeks and 6 days ago
It's necessary, I need more information driving directions
jedacandy · 23 weeks and 1 day ago
backing up files is very important eyelash extensions pensacola
geebranz · 19 weeks ago
That put up appears to be get numerous website visitors. Will you support it? That it offers a sweet specific forget on the subject of problems. Man enduring one thing accurate and / or maybe a lot of to deliver facts about is essential task. buy nembutal australia
robinjack · 6 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: