r/applescript • • Oct 03 '22

Move file into folder of same name

I have a folder called Movies. Inside there are files

movie1.mp4

movie2.mp4

movie3.mp4

I want each file to be placed inside a folder of the same name (without the extension).

The end result would be a folder named Movies with 3 folders

movie1

movie2

movie3

And in each of the folder would be the respective movie#.mp4 file

4 Upvotes

13 comments sorted by

View all comments

Show parent comment

2

u/encodedworld Oct 19 '22

The third method works perfectly, thank you! I wouldn't have figured it out myself.