Einzelnen Beitrag anzeigen
Ungelesen 28.09.20, 19:35   #2
andeme
Lernender
 
Registriert seit: Apr 2017
Beiträge: 34
Bedankt: 26
andeme gewöhnt sich langsam dran | 15 Respekt Punkte
Standard

Ich verwende jetzt die Lösung mit AppleS*****:

set the_folder to choose folder

tell application "Finder"
set the_list to files of the_folder
repeat with i in the_list
try
set theName to name of i
set n to text -5 thru 1 of theName
set nf to make new folder at the_folder with properties {name:n}
move i to nf

end try
end repeat
end tell
andeme ist offline   Mit Zitat antworten