I want to move several hundred files from one hard drive to another while adding a new sub-directory. For example I have the file '3 Days to Kill (2014).avi' currently located in the directory Movies on a drive named Movies 1... ergo
/volumes/Movies 1/Movies/3 Days to Kill (2014).avi
I want it moved to:
/volumes/Media/Movies/3 Days to Kill (2014)/3 Days to Kill (2014).avi
My attempts have failed and I need some advice. Here is my latest macro:
For your first issue, since that directory no doubt doesn’t exist on your target drive, you need to have an action to create it first. Set it up like this and if there's no directory (which there probably won't be) then it will create one using the file's name supplied by your variable FileName. Then put the move action after the If action, but not in it.
For your second issue, once the directory has been created, any other files with the same name would be put in the same directory since they're supplying the same FileName variable.
Thanx, that helps, however I still have problems. Now the directories are being created, but the files are not getting moved. I have also tried the following:
Your screenshot is cut off but it looks like you're trying to move a file using the FileName variable, but it does not include the extension. You need to either use a variable that includes the extension, append it manually, or set the extension as another variable and append that to the FileName variable in the move action.
Sorry it was cut off, below is the ending of the macro. I don't understand why it would be necessary to perform anything pertaining to the extension because my Display Text clearly shows that the FileName variable includes the extension. Here is a screenshot of an example Display Text:
True, but you’re not using your display name variable to move the file. You’re using the FileName variable which doesn’t include the extension. Try including the extension or using the display name variable and see what happens.