Create a Directory Tree With One Command

This one is via command-line-fu.


1
mkdir -p doc/{text/,img/{wallpaper/,photos/}}

Will create the following directory tree inside current directory:

-doc
—–text
—–img
———-wallpaper
———-photos

If you enjoyed this post, make sure you subscribe to my RSS feed!

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Related posts:

  1. Fetch Links From Twitter Into Your RSS Reader

Tags: , ,

Saturday, March 21st, 2009 Bash

Leave a Reply

my email
my photo
Hi,
My name is Amir Watad. I have a BSc. in biomedical engineering from The Biomedical Engineering school , Technion , Israel, and a BSc. in electrical engineering from The Electrical Engineering school , Technion , Israel.
I'm a Verification Engineer in Mellanox Technologies Ltd.
I love Linux, the Command Line and the OpenSource Community.
I used to write Poems (Arabic) when I was able to find time for this.
March 2009
S M T W T F S
« Feb   May »
1234567
891011121314
15161718192021
22232425262728
293031  
SEO Powered by Platinum SEO from Techblissonline

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.