Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2001
    Location
    Troy, Missouri USA
    Posts
    1,299

    Question HELP creating Directories

    I need to make a "cache" directory in about 100 different directories and chmod them all. Is there a quick way to do this using SSH?

  2. #2
    Join Date
    Jul 2002
    Location
    Israel
    Posts
    351
    for I in `find . -type d -print` do mkdir $I/cache; chmod 755 $I/cache; done
    C#/C++/TCL/Python/PHP developer.
    mark at mark org il

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •