Hello everyone,
Hope you go easy on me since I'm quite new to the Mac world, used PCs for the last 30 years of my life but has now decided to leave the dark side
I'm having some trouble solving something that I'm used to doing on PCs on the Mac, and it's about renamning files.
I've read a lot of articles and forum posts and also checked a lot of youtube clips on AppleScript, Automater and Terminal but haven't found the answer to my question.
What I want it pretty simple.
I have a bunch of files that I would like to add an predefined but unique text to, see example below.
Old file name New file name
File1.xxx File1-uniquetext1.xxx
File2.xxx File2-uniquetext2.xxx
File3.xxx File3-uniquetext3.xxx
File4.xxx File4-uniquetext4.xxx
File5.xxx File5-uniquetext5.xxx
File6.xxx File6-uniquetext6.xxx
I used to do this really simple on windows using a .bat file.
Got the original name from the folder with the files.
Got the unique texts( in this case TV-show titles) from the internet.
Then did some excel magic and put together an .bat file looking like this.
rename File1.xxx File1-uniquetext1.xxx
rename File2.xxx File2-uniquetext2.xxx
rename File3.xxx File3-uniquetext3.xxx
rename File4.xxx File4-uniquetext4.xxx
rename File5.xxx File5-uniquetext5.xxx
rename File6.xxx File6-uniquetext6.xxx
Anyone able to help me with this using AppleScript?
Would really save my day and help me with not having to return to Windows for a simple task like this.
I appreciate all help!
Thanks in advance!!
Hope you go easy on me since I'm quite new to the Mac world, used PCs for the last 30 years of my life but has now decided to leave the dark side
I'm having some trouble solving something that I'm used to doing on PCs on the Mac, and it's about renamning files.
I've read a lot of articles and forum posts and also checked a lot of youtube clips on AppleScript, Automater and Terminal but haven't found the answer to my question.
What I want it pretty simple.
I have a bunch of files that I would like to add an predefined but unique text to, see example below.
Old file name New file name
File1.xxx File1-uniquetext1.xxx
File2.xxx File2-uniquetext2.xxx
File3.xxx File3-uniquetext3.xxx
File4.xxx File4-uniquetext4.xxx
File5.xxx File5-uniquetext5.xxx
File6.xxx File6-uniquetext6.xxx
I used to do this really simple on windows using a .bat file.
Got the original name from the folder with the files.
Got the unique texts( in this case TV-show titles) from the internet.
Then did some excel magic and put together an .bat file looking like this.
rename File1.xxx File1-uniquetext1.xxx
rename File2.xxx File2-uniquetext2.xxx
rename File3.xxx File3-uniquetext3.xxx
rename File4.xxx File4-uniquetext4.xxx
rename File5.xxx File5-uniquetext5.xxx
rename File6.xxx File6-uniquetext6.xxx
Anyone able to help me with this using AppleScript?
Would really save my day and help me with not having to return to Windows for a simple task like this.
I appreciate all help!
Thanks in advance!!