create an uncompressed tar file of each child directory of the current working directory

find . -maxdepth 1 -mindepth 1 -type d -exec tar cvf {}.tar {} \;
First, use find to find directories exactly one level below current directory, then create a tar file using the directory as the basename.

4
2020-06-21 14:34:44

What Others Think

I had trouble writing an essay and had a terrible headache until I found an essay sample on this website. There are so many free templates of academic papers.
nicollemeyer · 6 weeks and 6 days ago
You shared a useful post and thanks for sharing this to us. Roblox Robux Hack Generator Generate unlimited number of Roblox Robux with our one of a kind generator tool and never lose a single game. Get free robux working free Roblox robux generator 2020 without human verification.
pennman · 6 weeks and 4 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Promo code for stadium goods , please visit out website www.uttercoupons.com.
adam062 · 5 weeks and 3 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best TSplus Coupon Code , please visit out website www.uttercoupons.com.
adam062 · 5 weeks and 3 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Carter's Coupon Codes , please visit out website www.uttercoupons.com.
adam062 · 5 weeks and 3 days ago
A lot of times I try to create this file, but I cannot create this. Can you tell me more about this in-depth so I can not do this and create this because Spalding 66291 basketball hoop reviews is very important for me?
Elie77 · 5 weeks and 2 days ago
I think the problem may be that the seo is not configured correctly, try to check that point to see how it goes, it should be solved
MarshallMA22 · 4 weeks ago
Can you describe this solution on the https://essaysservicesreviews.com/?
Nambypamby · 3 weeks and 1 day ago
thanks for this Amazon Laptop offers 2020
Teligali · 1 week and 6 days ago
A collective usage of the tar command is to make a documentation of a subdivision. For example, pretentious there is a subdivision called MyProject in the present almanac, you can usage tar to generate uncompressed documentation of that almanac with this command. By: Professional Coursework Writers
sansalopez222 · 1 week and 6 days ago
Thank you for sharing. Thanks to this article I can learn more things. Expand your knowledge and abilities. http://www.dubairoyalescorts.com/"> Dubai Call Girls Actually the article is very practical.
ektakaur · 1 week and 6 days ago
I can not focus. Whenever I write or read an article, I cannot concentrate. I think I have a problem with my brain t rex game
Lisa1812 · 1 week 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: