Ergebnis 1 bis 1 von 1
- 02.09.2011, 12:48 #1Süssreinette (Aargauer Herrenapfel)
Themenstarter
- Registriert
- 03.2008
- Ort
- Wien
- Alter
- 18
- Beiträge
- 401
Inhalt eines Ordners mit AppleScript verschieben
Hallo,
ich wollte mir ein AppleScript basteln, mit dem ich den Inhalt meines iTunes Music Ordners (~/Music/iTunes/iTunes Music/Music/) in den Music Ordner (~/Music/) verschieben kann.
Wenn man das Script ausführt passiert genau GAR NICHTS, wenn man "entire contents" entfernt, sieht die Ordnerstruktur nachher logischerweise so aus:Code:tell application "Finder" move entire contents of folder "Music/iTunes/iTunes Music/Music" of home to folder "Music" of home end tell
~/Music/Music/Interpret/Album/Song.m4a
was ich aber nicht will.
Eine Möglichkeite wäre noch:
dann erhalte ich aber folgende Fehlermeldung:Code:tell application "Finder" move entire contents of folder "Music/iTunes/iTunes Music/Music" of home to folder home end tell
Das Anfügen von "with replacing" ändert nichts am Ergebnis (nichts passiert, selbe Fehlermeldung).
Zitat von Syntax Error
Danke und lg,
MichaelThe leader who stays in the rear, takes it in the rear. Besides, violence is one of the most fun things to watch.


Zitieren