mercredi 7 janvier 2015

Automatically move all files from within a folder to external SSD, When external SSD is connected


I have a GoPro 4 which ends up creating very large high quality videos, when connected through USB the Gopro importer app automatically copies the files to a subfolder named by todays date in /users/apple/Pictures/GoPro . Once the files are copied from the GoPro to the /Pictures/GoPro/DATE_Subfolder they are deleted from the GoPro automatically.


These files fill up my macbook hard drive fast so i have brought a external SSD to house all my video files as well as Final Cut Pro X.


What I would like is a script which auto runs on connection of the external SSD, to move the contents of /Pictures/GoPro to /Volumes/Ext_SSD/GoPro then delete the original files from /Pictures/GoPro


Is this possible? I have had a mess around with Automator and can get files to move then delete when the SSD is already connected, but if files are put in the folder when the SSD is disconnected it will not be moved over when the SSD is finally connected again.





Aucun commentaire:

Enregistrer un commentaire