How to Copy the folder structure without the Folder contents?
I would like to create an archive of important application installers and I will sync the contents between two systems MacPro and Macbook Pro.
I need to pull the names of the application/developers from somewhere so I figured I would use the Application Support directory.
So I need a way to copy this directories folder structure without any of the file contents. Is there an easy way to do this. I found a post with an Automator script but the link is dead (http://homepage.mac.com/red_menace/.Public/~OSX/Automator/Actions/Copy%20Folder% 20Structure.action.zip) and the thread is archived:
I also found this post that refers to doing it in terminal but since it is the app support directory I am wary to do this as I am not familiar with terminal at all and I am not clear on what exactly to write in the old_dir / new_dir section. I figure it would be something like this /Library/Application Support but I dont want to make a mistake.
Here is the Terminal command:
cd old_dir
find . -type d -depth -print | cpio -pd new_dir
from:
Does anyone know of a novice way to do this?