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.

2
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 · 7 weeks and 1 day ago
I read your post. It is very informative and helpful to me.
broomhaylie · 7 weeks and 1 day 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 · 5 weeks and 4 days 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 · 5 weeks 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 · 4 weeks and 5 days 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 · 4 weeks and 5 days 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 · 4 weeks and 2 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 · 3 weeks and 1 day ago
real estate budapest
saeed20 · 2 weeks and 5 days 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 · 2 weeks and 1 day ago
Nice info thanks for it. https://iphtechnologies.com
IPHSTechnologies · 1 week and 6 days ago
Thanks for sharing. [url=https://gta5cheats.co]gta 5 cheats[/url]
astin082020 · 1 week 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: