HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

HOW TO: Create Folders Named After Their Files Using AppleScript

3,824 views October 29, 2014 3:24

Watch on YouTube
ChannelxoxoHarls

Description from the creator

This script comes in handy when you have several movies that you would like to put in individual folders named after each individual file.

NEEDED SCRIPT COPy EVERythING FROM "tell application" To "end tell"

tell application "Finder"
set selected to selection
set current_folder to item 1 of selected
set mlist to every file of current_folder
repeat with this_file in mlist
set cur_ext to name extension of this_file
set new_name to text 1 thru -((length of cur_ext) + 2) of (name of this_file as text)
set new_folder to make new folder with properties {name:new_name} at current_folder
move this_file to new_folder
end repeat
end tell

About this tutorial

xoxoHarls published this 3:24 video tutorial on October 29, 2014. It has been watched 3,824 times on YouTube.

Channel
xoxoHarls
Duration
3:24
Published
October 29, 2014
Views
3,824
Likes
71

Tags

Share

This tutorial in other languages