I try to move multiple files which are in different folders around hard drive to another hard drive to one folder and then delete original files. If i move these one by one, i must enter admin code every time i move or delete file.
G’day
I suggest moving the files to one new folder, copying that folder to the server (password once), then trashing the folder.
Regards
Santa
Since these are log files, if i try to move them one by one to one folder in same partition/drive, it still asks codes for every file.
I need something like “move every item in my_list to folder_x”.
set src to alias "SourceFolder"
set dst to alias "DestinationFolder"
tell application "Finder" to move (files of src) to dst
Works for me. You could also use mv
Also, to avoid the password issue (these are not going to be put back) why not just change the ownership of the files?