tar and bz2 a set of folders as individual files

for f in *screenflow ; do tar cvf "$f.tar.bz2" "$f"; done
I use screenflow to create and edit videos. The default storage for a single video is a folder. If I want to move that someplace, it's easier to zip up the folder and send it. If I'm making a series of short videos, I might have 10 folders. This will go through and make a single bz3 file for EACH folder.

2020-08-02 21:10:27

1 Alternatives + Submit Alt

What Others Think

This may break if "*screenflow" returns files/folders with weird characters, and it wont' actually compress the tarballs (it'll create them verbosely, but won't compress them).
minnmass · 7 weeks and 3 days ago
Thank you very much for writing such an interesting article on this topic. This has really made me think and I hope to read more [url=https://hotmailvs.com/]Hotmail[/url]
creshbunny · 7 weeks and 1 day ago
I love significantly your own post! I look at all post is great. I discovered your personal content using bing search. Discover my webpage is a great one as you.I work to create several content this post. Once more you can thank you and keep it create! Enjoy! interior photography in dubai
ayesha · 6 weeks and 5 days ago
Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. https://gameaholic.net
muneerahmed · 6 weeks and 1 day ago
Interesting post. I Have Been wondering about this issue. so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks BCPNP immigration Consultant
muneerahmed · 6 weeks and 1 day ago
Are thoses comments all from Bots or what? This is pretty much a very very (very) basic find command. So much so that i am genuinely curious about comments saying how this is (almost) revolutionary. I maybe was under the impression that "FU" meant some sort of NINJA stuff or, at the very least, not a place where to post manpages examples. Maybe i am wrong. Surely.
oldfart · 5 weeks and 4 days ago
You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. kombájn szállítás árak
muneerahmed · 5 weeks and 4 days ago
So luck to come across your excellent blog. Your blog brings me a great deal of fun.. Good luck with the site. GYM EQUIPMENT REPAIR
muneerahmed · 5 weeks and 4 days ago
Interesting post. I Have Been wondering about this issue. so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks voyance
muneerahmed · 5 weeks and 3 days ago
Really appreciate you sharing this blog post.Much thanks again. Fantastic and waiting for more info UnlockMyTV App For Android
UnlockMyTvApk · 5 weeks and 3 days ago
The default storage for a single video is a folder! Great t rex game
Lisa1812 · 5 weeks and 2 days ago
Thank you! It works! I can now proceed on playing sinoalice for windows pc, a popular RPG game on mobile before but now on wide screen. I told my sister to give it a try but she do not want to get distracted on playing gacha life she downloaded from https://chrome.google.com/webstore/detail/gacha-life-games-extensio/bidldpedmamenefcipmhojmhjohmblnl
mayathegreat · 2 weeks and 6 days ago
chimney sweep
saeed20 · 2 weeks and 5 days ago
Waow this is quite pleasant article, my sister love to read such type of post, packers and movers I am going to tell her and bookmarking this webpage. Thanks
muneerahmed · 2 weeks and 4 days ago
They keep me reading till the end (not an easy feat). Here's the best commercial tiling contractor and an affordable one.
rubewrenn269 · 2 weeks and 1 day ago
I ask you some thing You make more this type blog where we can get more knowledge and any one tell me how can I find this type blog? If you're finding for the best Roll Off Dumpster Rental, click the url.
scottheflin589 · 1 week and 6 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: