Error using copyfile to make a backup of a folder on my desktop
11 views (last 30 days)
I have been running a script that copies a file called "All Files" from my desktop to a different storage device directory. It has worked 40-50 times in the past. It utilizes the copyfile function in MATLAB. The relavent line of code reads:
[ SUCCESS,MESSAGE,MESSAGEID ] = copyfile(AllFilesDirectory,...
Recently, instead of a successful copying of the file contents, I get
'Unknown error occurred.'
The only thing that has changed is that I am continually adding new content to this folder. However, I have been doing so since I made the folder and began backing it up, so this is nothing new.
Edit: In case it is relevant, the folder is about 50 GB right now.