Re: Copy file names in a folder to text edit?
Re: Copy file names in a folder to text edit?
- Subject: Re: Copy file names in a folder to text edit?
- From: Tom Robinson <email@hidden>
- Date: Wed, 08 Oct 2003 07:38:24 +1300
>
I'm really new to this apple script thing, and was wondering if any of
>
you had a script available for copying all file names in a folder to a
>
TextEdit document.
If youbre under OS X you could use the olb do shell script:
do shell script "ls -1 ~/Desktop > ~/Desktop/filelist.txt"
Where -1 says to list the filenames in a single column,
the ~/Desktop gives the directory to listbthe Desktop folder of your home folder,
the ~/Desktop/filelist.txt is where to place the listing.
Note youbll need to escape any spaces in the path and filenames.
Cheers
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.