Here is the code that I am using:
The folder gets created. However, the files do not move. I get the error:
"Finder got an error: The operation can’t be completed because some items had to be skipped. “2018_0126_123743_001A.MP4”" number -15266
Here is a screen shot of what I am talking about:
Code:
set {year:yr, month:mn, day:dy} to (current date)
set dateString to pad(mn as integer) & "_" & pad(dy) & "_" & (yr as text)
on pad(v)
return text -2 thru -1 of ((v + 100) as text)
end pad
set fileString to "LaCie:Dash Cam:Week C:" & dateString
tell application "Finder"
make new folder at folder "LaCie:Dash Cam:Week C" with properties {name:dateString}
move every file of folder "DASH_CAM:DCIM:NORMAL" to folder fileString with replacing
end tell
The folder gets created. However, the files do not move. I get the error:
"Finder got an error: The operation can’t be completed because some items had to be skipped. “2018_0126_123743_001A.MP4”" number -15266
Here is a screen shot of what I am talking about:
Last edited by a moderator: