DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Create Complex Tree Directory With Mkdir

04.17.2009
| 5714 views |
  • submit to reddit
        
mkdir -p $BASE/$2/$maildir/{cur,new,tmp,.INBOX.Archivio/{cur,new,tmp},.INBOX.Drafts/{cur,new,tmp},.INBOX.Junk/{cur,new,tmp},.INBOX.Sent/{cur,new,tmp},.INBOX.Trash/{cur,new,tmp}