View Full Version : File renaming apple script help

Jun 11, 2008, 09:18 AM
hi all.

I need an applescript to rename all the files within a folder of folders to the name of the enclosing folder plus the file name.

for example: if i had a folder called folder, with two folders inside, one called folderone and one foldertwo and then files a.pdf and b.pdf in folderone and c.pdf and d.pdf in foldertwo

I want the final filenames to be folderonea.pdf, etc. and for those final files to be copied out to another folder.

it should be pretty simple. I can get something that will work by putting the whole path as the filename but not just the enclosing folder.