• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Copying folder structures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying folder structures


  • Subject: Re: Copying folder structures
  • From: "Mark J. Reed" <email@hidden>
  • Date: Sat, 22 Dec 2007 16:08:17 -0500

Here's one way to do it via the shell:

do shell script "(cd " & quoted form of POSIX path of sourceFolder &
"&& find . -type d print0) | (cd " & quoted form of POSIX path of
destFolder & "&& xargs -0 mkdir -p)"



On 12/22/07, Kurt Klamp <email@hidden> wrote:
> Hi all,
>
> just a question:
>
> is there a ready script to copy ONLY the folder structure, with all
> nested subfolders, to a destination?
>
> If yes, a hint is appreciated.
>
> Kurt
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>


--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Copying folder structures
      • From: Skeeve <email@hidden>
References: 
 >Copying folder structures (From: Kurt Klamp <email@hidden>)

  • Prev by Date: Copying folder structures
  • Next by Date: Re: Copying folder structures
  • Previous by thread: Copying folder structures
  • Next by thread: Re: Copying folder structures
  • Index(es):
    • Date
    • Thread