tar and bz2 a set of folders as individual files

find . -maxdepth 1 -type d -name '*screenflow' -exec tar jcvf {}.tar.bz2 {} \;
This version will work if "*screenflow" returns any results with weird characters, and will actually compress the tarballs.

By: minnmass
2020-08-02 22:34:14

1 Alternatives + Submit Alt

What Others Think

This is actually the kind of information I have been trying to find. Thank you for writing this information. Hotmail
creshbunny · 17 weeks and 4 days ago
I read your post. It is very informative and helpful to me.
broomhaylie · 17 weeks and 4 days ago
I started a new blogging website for the students about education and pay to take online class and also doing for the website that helps to have some students traffic on the website that a very good opportunity for the beginners.
emilyalvin · 16 weeks ago
More and more corporations are jumping on board to tackle giant-scale social issues. Additionally, the employment of social media makes these initiatives more widely marketed Click Here To Know More.
Beauvais · 15 weeks and 2 days ago
Glad to go to your post, i'm apparently forward to an ever increasing number of trustworthy articles and that I figure we tend to as a full might want to pass on such Brobdingnagian quantities of amazing Kaspersky Promo Code articles, present like on essential to us.
webtechcoupons · 15 weeks and 1 day ago
The post is good. The content looks at tar and bz2 a set of folders as individual files. If you go through the post, you will get all the details that you are looking for. You don’t think that the information shared in the post is not useful. The content will be useful for you, and you don’t have to be worried about the time that you spend to read the post. More : https://essayschief.com
Fredhines · 15 weeks and 1 day ago
Here are tips that you can use to improve your work. fireboy and watergirl Updated many new games for you to freely explore
lindaperryly · 14 weeks and 5 days ago
There are many assignment Help service providers out there in the market but are those service providers Australian based companies? Probably not, My Assignment Help has been operating in the market for last 10 years now and we are proud to say that we have helped over thousands of students academic writing
eliza · 13 weeks and 4 days ago
real estate budapest
saeed20 · 13 weeks ago
Thanks for sharing the solution for the issue discussed here as it will be helpful for those who have doubts regarding the folder creation full stop there was also shared the code that can be used for solving the code related issues mobile boosters
Juvanta · 12 weeks and 3 days ago
Nice info thanks for it. https://iphtechnologies.com
IPHSTechnologies · 12 weeks and 2 days ago
Thanks for sharing. [url=https://gta5cheats.co]gta 5 cheats[/url]
astin082020 · 12 weeks ago
great content! will recommend this site to my friends
looneyhans · 6 weeks and 1 day ago
can you make it work for multiple folders?
fiverclog · 3 weeks and 1 day ago
doula spokane Wow! I did not know you can use ipad that way! This is interesting
yeoyeo · 3 weeks ago
works well. glad i found this fencecompanytylertx.com
looneyhans · 1 week and 4 days ago
very nice article! dentalimplantssanjoseca.com
Killersmile · 1 week and 1 day ago
This is an excellent post! I'll have to try the command on my new rig at Fundraising Coach
burtmacklin · 5 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: