Solved

How can I copy a folder strucure (only) on OSX?

Posted on 2011-02-19
6
954 Views
Last Modified: 2012-05-11
Hi,

My first question here....

I'd like to be able to duplicate a folder structure in Finder from a source to a target, without the folder contents.

Many Thanks,
0
Comment
Question by:ajstokes
6 Comments
 
LVL 53

Expert Comment

by:strung
ID: 34938468
This freeware app might do what you want:  http://mac.softpedia.com/get/System-Utilities/Copy-folder-tree.shtml
0
 
LVL 32

Accepted Solution

by:
nappy_d earned 500 total points
ID: 34939015
Please try this command from your OS X command line

    ~/from$ find . -type f -exec touch ~/to/{} \;

You could also use the command lndir  To see more on this command open your terminal and type "man lndir", without the quotes.
0
 

Author Comment

by:ajstokes
ID: 35045074
Hi Strung,

Thanks for your response, although this does not work as needed. I am looking for a way to copy the folder structure (without any data) from a child folder. i.e:

1. Locate the source child folder (which could also be in a hierarchy of multiple folders, but I only wish to copy it's structure)

/VOLUME/folder_one/second_folder/third_folder/source_folder

2. Folder structure is generated in new location.

This is a very simple example, however the reason for doing this is to work with folders that are sometimes 10 or 15 levels deep.
0
 
LVL 32

Expert Comment

by:nappy_d
ID: 35046263
Did you try my terminal commands? http:#34939015

The BSD terminal is more powerful than any GUI utility.
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 35422516
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question