Gzip files older than 10 days matching *

find . -type f -name "*" -mtime +10 -print -exec gzip {} \;
Useful for a cron job that runs nightly, gzipping or alternatively deleting files from a specific directory that are older than 10 days (in this case)

4
2009-02-16 14:33:32

What Others Think

-name "*" is unnecessary, as -print is Also, -exec can lead to "args list too long" error in case of a very large output. Better way: find . -type f -mtime +10 | xargs gzip
berta · 697 weeks and 4 days ago
the "*" was actually to match the file name to something... then you could go find . -type f -name "*.log" -mtime +10 -print -exec gzip {} \; so you can do it for log files only...
migueldiab · 697 weeks and 4 days ago
Hi migueldiab, As a extension ,i need the generated output .gzip files dump into the backup folder(ex: /tmp/backup ..which is already created) Can you help me please Thanks, Amarnath P
poluamar · 315 weeks ago
How can i do the same for only to gzip 10 files sorted in reverse? As of now, i'm using this technique du -ak /opt | sort -nr | grep -i bak | head -10 gzip the files please suggest me an alternative to make it in a single command line that i can execute.
vinay · 308 weeks and 4 days ago
And sometimes I think I kill relationships for art guitar lessons des moines
tillyracker · 53 weeks and 4 days ago
I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. ???????????????
wenilak444 · 19 weeks and 5 days ago
After study a number of the blog articles on your own site now, we truly such as your technique of blogging. I bookmarked it to my bookmark web site list and you will be checking back soon. Pls check out my website at the same time and tell me if you agree. ??
wenilak444 · 18 weeks and 2 days ago
Thank you, nice post! This was the thing I needed. RV Generator Repair Near Me
wenilak444 · 18 weeks and 1 day ago
You can definitely see your skills within the work you write. The sector hopes for even more passionate writers such as you who aren’t afraid to mention how they believe. All the time go after your heart. https://76carat.com/
wenilak444 · 17 weeks and 6 days ago
With everything which seems to be developing within this particular subject matter, many of your points of view are very radical. Having said that, I am sorry, because I can not subscribe to your entire idea, all be it exhilarating none the less. It seems to everybody that your opinions are actually not completely validated and in fact you are generally yourself not completely convinced of your argument. In any event I did appreciate examining it. SMM Panel
wenilak444 · 17 weeks and 6 days ago
Youre so cool! I dont suppose Ive read anything in this way before. So nice to find somebody with many original thoughts on this subject. realy i appreciate you for starting this up. this fabulous website is one area that is needed on the internet, an individual if we do originality. beneficial purpose of bringing something new for the net! here
wenilak444 · 17 weeks and 5 days ago
It is very interesting topic you’ve written here..The truth I’m not related to this, but I think is a good opportunity to learn more about, And as well talk about a different topic to which I used to talk with others ???????
wenilak444 · 17 weeks and 4 days ago
Hi, Neat post. There is an issue with your web site in web explorer, would test this¡K IE nonetheless is the market leader and a large element of folks will omit your excellent writing because of this problem. ????????????????
wenilak444 · 17 weeks and 1 day ago
Nice post and site. Good that Yahoo listed so i was able to get here. This site will go no in my bookmarks from now. ???????
wenilak444 · 17 weeks and 1 day ago
It never had the objective in being the perfect movie, but in terms of sheer entertainment, this one succeeded tremendously. ?????????
wenilak444 · 17 weeks and 1 day ago
Fabulous piece of writing! Genuinely savored often the examining. I hope to study significantly more away from you. In my opinion you may have amazing information and even imaginative and prescient vision. I’m greatly fascinated this particular answers. ?????
wenilak444 · 16 weeks and 4 days ago
I just could not leave your website prior to suggesting that I actually enjoyed the usual info an individual provide to your guests? Is going to be again continuously to check out new posts. ??????
wenilak444 · 16 weeks and 4 days ago
The guidelines you provided here are really useful. It was such an enjoyable surprise to have that awaiting me as i woke up this very day. They are constantly to the point and easy to understand. Thanks for your time for the innovative ideas you’ve shared above. ????? ??
wenilak444 · 16 weeks and 2 days ago
Hmm it seems like your website ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I too am an aspiring blog writer but I’m still new to the whole thing. Do you have any tips and hints for beginner blog writers? I’d really appreciate it. Bestseller
wenilak444 · 16 weeks and 1 day ago
I just could not depart your web site prior to suggesting that I actually enjoyed the standard information a person provide for your visitors? Is going to be back often in order to check up on new posts https://voyance-telephone-gaia.com/
wenilak444 · 15 weeks and 6 days ago
Keep up the good work; I read few posts on this website, including I consider that your blog is fascinating and has sets of the fantastic piece of information. Thanks for your valuable efforts. fake hermes wallets
wenilak444 · 15 weeks and 6 days ago
Admiring the time and effort you put into your website and in depth information you offer. It’s good to come across a blog every once in a while that isn’t the same out of date rehashed material. Great read! I’ve saved your site and I’m including your RSS feeds to my Google account. ????? ??
wenilak444 · 15 weeks and 5 days ago
Her leadership at the Beeck Center will continue to give students and faculty the ... of Facebook and Spotify fame, all seeking to leverage the incentive. https://www.spotifyfame.com/blog/does-spotify-have-lyrics/
wenilak444 · 15 weeks and 3 days ago
The Twitch Partnership Program is for those who are serious about streaming and want to advance from Affiliate status. Twitch Partners are content developers who stream everything from games to music to discussion shows to art to just about anything else. https://twitchviral.com/blog/how-upload-videos-twitch/
wenilak444 · 15 weeks and 3 days ago
Hello, i think that i saw you visited my website thus i got here to °ßreturn the prefer°®.I’m trying to find things to enhance my web site!I suppose its ok to make use of a few of your ideas!! ?????
wenilak444 · 15 weeks and 1 day ago
What¡¦s Going down i am new to this, I stumbled upon this I’ve discovered It absolutely useful and it has helped me out loads. I am hoping to give a contribution & aid other users like its helped me. Great job. ????????
wenilak444 · 14 weeks and 5 days ago
I’ve never read the series so I couldn’t tell you, but I enjoyed the film adaptation from director Robert Schwentke. ???????
wenilak444 · 14 weeks and 4 days ago
We are a group of volunteers and starting a new project in our neighborhood. Your blog provided us with valuable information to help us get started|.You have done a great job! Football Match Prediction Software
wenilak444 · 14 weeks and 3 days ago
Hello! I would want to supply a huge thumbs up for any fantastic info you’ve here about this post. We are returning to your website for much more soon. ????????
wenilak444 · 14 weeks and 3 days ago
There are some interesting points on time here but I do not know if they all center to heart. There is some validity but Let me take hold opinion until I take a look at it further. Great post , thanks and we want more! Included in FeedBurner in addition ufabet ???????????
goxah55535 · 14 weeks and 3 days ago
Glad to be one of many visitants on this awful web site : D. ufabet ???????????
goxah55535 · 14 weeks and 3 days ago
Hey, good morning. Interesting article. You have gained a new reader. Pleasee keep up the good work and I look forward to more of your brilliant articles. God bless, . ufabet ???????????
goxah55535 · 14 weeks and 3 days ago
When i purchased on your site nonetheless placement concentrate solely a bit small submits. Fulfilling technique for near future, I'll be book-marking every time obtain individuals complete occurs in position. INDIJAS V?ZA UZ 5 GADIEM
wenilak444 · 13 weeks and 2 days ago
Hello! I just now wish to provide a huge thumbs up for that excellent information you may have here during this post. I will be returning to your blog to get more detailed soon. https://twitchviral.com/blog/twitch-gamers/
wenilak444 · 12 weeks and 6 days ago
Hi there, I found your web site by means of Google at the same time as searching for a related subject, your web site got here up, it seems great. I have bookmarked it in my google bookmarks. https://www.spotifyfame.com/blog/how-much-does-spotify-premium-cost/
wenilak444 · 12 weeks and 6 days ago
I like the valuable info you provide in your articles. I’ll bookmark your blog and check again here regularly. I am quite sure I’ll learn many new stuff right here! Best of luck for the next! water sampler
wenilak444 · 12 weeks and 6 days ago
Trusting to make the right decisions can be tough. Many of us develop this ability over the course of our life. It doesn’t really just happen if you know what I mean. https://onohosting.com/cheapwebhosting
wenilak444 · 12 weeks and 6 days ago
I am often to blogging and i genuinely appreciate your articles. The content has truly peaks my interest. I am going to bookmark your website and keep checking for first time info. Hostinglelo
wenilak444 · 12 weeks and 6 days ago
Youre so cool! I dont suppose Ive read anything similar to this prior to. So nice to uncover somebody with many original applying for grants this subject. realy appreciation for starting this up. this fabulous website is one area that is required on-line, someone with a bit of originality. useful project for bringing new things to the world wide web! ??????????????????????
goxah55535 · 12 weeks and 5 days ago
Spot on with this write-up, I really believe this amazing site requirements far more consideration. I’ll more likely once again you just read a great deal more, many thanks that info. ???
wenilak444 · 12 weeks and 4 days ago
Thanks for another informative web site. Where else could I get that kind of information written in such an ideal way? I’ve a project that I’m just now working on, and I have been on the look out for such information. ??????
wenilak444 · 12 weeks and 3 days ago
Rapidly this website may irrefutably end up being well-known amongst just about all running a blog individuals, due to the diligent content articles or even evaluations. FULokoja
goxah55535 · 12 weeks and 3 days ago
I am extremely impressed together with your writing abilities and also with the layout in your weblog. Is this a paid subject matter or did you customize it yourself? Either way keep up the excellent high quality writing, it’s rare to peer a great blog like this one these days.. airdrop in crypto
wenilak444 · 12 weeks and 1 day ago
Can I simply say what a reduction to search out someone who actually is aware of what theyre speaking about on the internet. You definitely know easy methods to bring an issue to gentle and make it important. More folks must read this and understand this facet of the story. I cant believe youre not more widespread because you undoubtedly have the gift. price of corn oil
wenilak444 · 11 weeks and 6 days ago
An attention-grabbing dialogue is price comment. I believe that it is best to write more on this matter, it might not be a taboo topic but usually people are not sufficient to talk on such topics. To the next. Cheers Law firm in Nigeria
wenilak444 · 11 weeks and 4 days ago
This internet site is often a walk-through rather than the details you wanted about it and didn’t know who ought to. Glimpse here, and you’ll certainly discover it. buy pork neck bones
wenilak444 · 11 weeks and 3 days ago
If you’re these days gifted products, it comes down without drugs, and also you also interest that this are jealous of of most these kind of remaining outdoorsman near you who may predicament utilizing this crisis. caravan leisure store ???
wenilak444 · 11 weeks and 3 days ago
If you’re these days gifted products, it comes down without drugs, and also you also interest that this are jealous of of most these kind of remaining outdoorsman near you who may predicament utilizing this crisis. caravan leisure store ???
wenilak444 · 11 weeks and 3 days ago
When i purchased on your site nonetheless placement concentrate solely a bit small submits. Fulfilling technique for near future, I'll be book-marking every time obtain individuals complete occurs in position. V?ZA UZ KAN?DU
wenilak444 · 11 weeks and 3 days ago
You made some decent points there. I looked on the web for that problem and found most individuals will go coupled with along with your web site. ???????
wenilak444 · 11 weeks and 2 days ago
Enjoyed reading through this, very good stuff, thankyou . best small business loans
goxah55535 · 11 weeks and 2 days ago
A well written post, I just given this onto a colleague who was doing slightly analysis on that. And he indeed purchased me breakfast because I discovered it for him .. thus let me reword that: Thankx for the treat! however yeah Thnx for spending the time to talk concerning this, I feel strongly concerning it and revel in reading a lot of on this topic. If potential, as you become expertise, would you mind updating your blog with a lot of info? it’s very useful on behalf of me. two thumb up for this blog! ?????
wenilak444 · 11 weeks and 1 day ago
I definitely appreciate your website. Thank you for your insights and guidance. ????
wenilak444 · 11 weeks and 1 day ago
I’m very happy to read this. This is the type of details that needs to be given and not the random misinformation that is at the other blogs. Appreciate your sharing this greatest doc. ????
wenilak444 · 11 weeks and 1 day ago
I do not even understand how I stopped up here, however I thought this submit was once good. I do not realize who you’re but certainly you are going to a well-known blogger for those who aren’t already Cheers! ????
wenilak444 · 10 weeks and 5 days ago
Thanks for another great post. Where else could anybody get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information. ?????
wenilak444 · 10 weeks and 5 days ago
This is the correct weblog for everyone who is would like to learn about this topic. You are aware of much its almost challenging to argue along with you (not that I personally would want…HaHa). You certainly put a different spin on a topic thats been revealed for several years. Fantastic stuff, just great! annie kesteven
goxah55535 · 10 weeks and 4 days ago
I certainly enjoyed the method that you explore your experience and perception of the area of interest noir for men
wenilak444 · 10 weeks and 2 days ago
I do agree with all of the ideas you’ve presented in your post. They’re very convincing and will certainly work. Still, the posts are very short for starters. Could you please extend them a bit from next time? Thanks for the post. ???????
wenilak444 · 10 weeks and 2 days ago
Hey I was just looking at your site in Firefox and the image at the top of the link cant show up correctly. Just thought I would let you know. Buy codeine with promethazine
wenilak444 · 10 weeks and 1 day ago
Many thanks for spending some time to talk about this, I feel strongly about it and love learning more about this topic. If at all, while you gain expertise, can you mind updating your website with extra information? It’s very great for me. ldpegranulesmanufacturers
wenilak444 · 9 weeks and 6 days ago
It offers a nice unique twist on things. I guess having something useful or substantial to talk about is the most important thing. https://www.youtube.com/watch?v=4xxFmYRe1W8
goxah55535 · 9 weeks and 5 days ago
I am impressed, I must say. Very seldom do I come across a blog that is both informative and entertaining, and let me tell you, youve hit the nail on the head. Your idea is important; the issue is something that not a lot of people are talking intelligently about. I am really happy that I stumbled across this in my search for something relating to it. ?????
wenilak444 · 9 weeks and 3 days ago
i can see that most mobile phones today are equipped with cameras and stuffs.. House Of Zwide
wenilak444 · 9 weeks and 2 days ago
?????????? 66
goxah55535 · 9 weeks and 2 days ago
Hi there, I was doing a google search and your site came up for homes for sale in Oviedo, FL but anyway, I have had a pleasant time reading it, keep it up! judi tembak ikan
wenilak444 · 9 weeks and 1 day ago
My mate and that i had been just talking over this specific topic, she actually is continually endeavouring to prove me incorrect! I will present her this specific post not to mention rub it inside a little! slot online terpercaya
wenilak444 · 9 weeks and 1 day ago
I was just seeking this info for a while. After six hours of continuous Googleing, finally I got it in your site. I wonder what’s Google’s issue is! Thank you for the help! joker388
wenilak444 · 9 weeks and 1 day ago
Hi folks! I simply would want to provide a huge thumbs up for that terrific info you have got here with this write-up. I will be coming back again to your blog page for much more shortly. judi baccarat
wenilak444 · 9 weeks and 1 day ago
When I originally commented I clicked the -Notify me when new surveys are added- checkbox and from now on if a comment is added I am four emails using the same comment. Is there any way it is possible to remove me from that service? Thanks! slot gacor
wenilak444 · 9 weeks and 1 day ago
Shania Twain for me is the best country music singer of all times, I also like Taylor Swift but nothing will beat Shania Twain., wohnen
wenilak444 · 9 weeks and 1 day ago
I think your blog need a new wordpress template. Downalod it from site de streaming gratuit vf
wenilak444 · 8 weeks and 5 days ago
I like what you guys are up also. Such smart work and reporting! Carry on the superb works guys I have incorporated you guys to my blogroll. I think it will improve the value of my web site Optifine 1.19
wenilak444 · 8 weeks and 4 days ago
I am curious to find out what blog system you’re using? I’m experiencing some small security problems with my latest blog and I’d like to find something more safeguarded. Do you have any recommendations? Yeh Jhuki Jhuki Si Nazar
wenilak444 · 8 weeks and 4 days ago
After research just a few of the blog posts on your website now, and I really like your method of blogging. I bookmarked it to my bookmark website list and can be checking again soon. Pls check out my website as properly and let me know what you think. refined canola oil exporters
wenilak444 · 7 weeks and 6 days ago
all we want is of course a firm skin that is very smooth. great skin comes with great genetics and proper maintennance` ??????????????????
wenilak444 · 7 weeks and 5 days ago
It’s not the case that reader must be completely agreed with author’s views about article. So this is what happened with me, anyways it’s a good effort, I appreciate it. Thanks Facebook Account Hacked
wenilak444 · 7 weeks and 4 days ago
More than 5 million people have fled Ukraine since the conflict began. Leaving behind jobs, belongings and loved ones, they now face an uncertain future. Intense conflict is threatening the lives and livelihoods of civilians across Ukraine, with another 7.7 million people displaced inside the country. Families have been separated. People have been injured. Lives have been lost. unicef ukraine
wenilak444 · 7 weeks and 4 days ago
Excellent read, I just passed this onto a colleague who was doing some research on that. And he just bought me lunch since I found it for him smile Thus let me rephrase that: Thank you for lunch! kaufen
wenilak444 · 7 weeks and 4 days ago
You created some decent points there. I looked online for your issue and located most people go along with together with your web site. layers of a baseball
wenilak444 · 7 weeks and 3 days ago
I am not certain where you’re getting your information, but good topic. I must spend a while learning more or understanding more. Thank you for excellent info I was on the lookout for this information for my mission. bestellen
wenilak444 · 7 weeks and 1 day ago
I was examining some of your content on this website and I believe this web site is real informative! Keep posting. IRELAND FAKE DRIVERS LICENSE
wenilak444 · 7 weeks and 1 day ago
You should take part in a contest for one of the best blogs on the web. I will recommend this page! ?????
wenilak444 · 7 weeks and 1 day ago
Good day! I simply wish to give a huge thumbs up for the great data you’ve got here on this post. I will probably be coming again to your weblog for more soon. ??
wenilak444 · 6 weeks and 5 days ago
Good day! I simply wish to give a huge thumbs up for the great data you’ve got here on this post. I will probably be coming again to your weblog for more soon. ??
wenilak444 · 6 weeks and 5 days ago
Awesome! I thank you your contribution to this matter. It has been insightful. my blog: how to seduce a girl ???????????????? ???????? ????
wenilak444 · 6 weeks and 3 days ago
Quickly and easily build your web traffic and PR, which provides Web site visitors to add your page to any social bookmarking website. ???????????? wifi
wenilak444 · 6 weeks and 3 days ago
Welcome to India's well-known website which deals only high profile Celebrity Bollywood Escorts, south Indian actress escorts services and models. https://www.mybollywoodescorts.com/
wenilak444 · 6 weeks and 2 days ago
An attention-grabbing discussion is worth comment. I believe that you should write more on this matter, it won’t be a taboo topic however usually persons are not sufficient to talk on such topics. To the next. Cheers superslot wallet
goxah55535 · 6 weeks and 2 days ago
I really like this blog so much. I really don’t know exactly what to write other than I truly enjoyed reading through these blogs. I will keep visiting your website . I learned quite a bit from here. Formation d anglais
wenilak444 · 6 weeks and 1 day ago
You’ve got a good blog there keep it up. I’ll be watching out for most posts. vergleichen
wenilak444 · 5 weeks and 6 days ago
As soon as we obtained on your web site despite the fact that obtaining thing to consider essentially fairly little bit submits. Enjoyable technique for forthcoming, I'm book-marking simultaneously obtain types finish increases up-wards. ??????
wenilak444 · 5 weeks and 1 day ago
Pretty nice post. I just stumbled upon your blog and wished to say that I’ve truly enjoyed browsing your blog posts. After all I will be subscribing to your feed and I hope you write again soon! ???????? Sabina
wenilak444 · 5 weeks and 1 day ago
Rapidly this kind of internet site can easily unquestionably recognition among virtually all blogging and site-building and also site-building individuals, to be able to the meticulous content or simply opinions. private detectives spain
wenilak444 · 4 weeks and 4 days ago
This weblog seems to get a great deal of site visitors. How do you promote it? It gives a nice individual twist on things. I guess getting something useful or substantial to post about is the most important factor. ???
wenilak444 · 4 weeks and 4 days ago
As I site possessor I believe the content material here is rattling great , appreciate it for your efforts. You should keep it up forever! Best of luck. ????
wenilak444 · 4 weeks and 4 days ago
of course like your web-site however you need to check the spelling on quite a few of your posts. A number of them are rife with spelling issues and I to find it very bothersome to inform the reality however I’ll surely come back again. slot ufa
goxah55535 · 4 weeks and 4 days ago
Apalagi saat ini kami di dukung langsung oleh berbagai provider seperti PRAGMATIC, SBOBET, HABANERO, TTD, SPADE GAMING, JOKER123, MicroGaming, Live 22, ION CASINO, ASIA GAMING, ALL BET, SVENUS, EVOLUTION GAMING, PRETTY GAMING, SABA, IDN PLAY, BALAK PLAY, 9 GAMING, SLOT 88 Dan masih banyak provider lainnya yang telah mengakui PADIBET sebagai Situs Judi Terperaya di Indonesia. SLOT GACOR
wenilak444 · 4 weeks and 4 days ago
Some times its a pain in the ass to read what website owners wrote but this site is real user friendly ! . vergleichen
wenilak444 · 4 weeks and 1 day ago
I’m not sure exactly how I discovered your blog because I had been researching information on Real Estate inWinter Springs, FL, but anyway, I have had a pleasant time reading it, keep it up! Morocco tours
wenilak444 · 3 weeks and 6 days ago
Nice blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your design. Bless you ????? ????
wenilak444 · 3 weeks and 3 days ago
Simply desire to say your article is as astounding. The clarity in your post is simply nice and i can assume you’re an expert on this subject. Fine with your permission let me to grab your feed to keep updated with forthcoming post. Thanks a million and please keep up the rewarding work. ??????
wenilak444 · 2 weeks and 6 days ago
You can definitely see your excitement in the pieces you write. The world hopes for more passionate bloggers like you who aren’t afraid to say how they think. Always follow your heart. kaufen
wenilak444 · 2 weeks and 4 days ago
Hello fellow web master! I really enjoy your site! I liked the color of your sidebar. The Basics of Purchasing a Vehicle Online
wenilak444 · 2 weeks and 4 days ago
I needed to write you that little bit of remark to help give many thanks once again with your striking solutions you’ve featured on this website. It was certainly extremely open-handed of you to grant publicly what exactly most people would have made available as an e-book to generate some profit for themselves, specifically seeing that you could have done it if you considered necessary. Those solutions in addition acted like a fantastic way to realize that some people have similar interest similar to mine to know good deal more related to this condition. I am certain there are some more enjoyable moments ahead for individuals who scan through your site. 99racha slot
wenilak444 · 2 weeks and 2 days ago
There are incredibly many details prefer that to take into consideration. This is a excellent denote mention. I provide thoughts above as general inspiration but clearly you can find questions much like the one you start up in which the most crucial factor might be in honest great faith. I don?t know if best practices have emerged around things like that, but I am certain that your chosen job is clearly labeled as a good game. Both boys and girls have the impact of just a moment’s pleasure, for the remainder of their lives. ????
wenilak444 · 1 week and 2 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: