Empty folders on FTP sometimes created as 0 byte files - how to find and delete them in folders
I have a scheduled script uploading files and folders from my local computer. Sometimes empty folders are created as zero byte files. Found already threads to that topic but my logs were due to age already deleted. Will send it as soon it happen again.
Sadly the 0byte files will not be overwritten. Instead the next time the script runs it simply stumbles exits at that point. In the GUI it is quite convenient to find and delete the Zerobyte files. (mask: <1) How can I do that with script? The RM command seems to not offer options like sizefilter or including subfolders
Sadly the 0byte files will not be overwritten. Instead the next time the script runs it simply stumbles exits at that point. In the GUI it is quite convenient to find and delete the Zerobyte files. (mask: <1) How can I do that with script? The RM command seems to not offer options like sizefilter or including subfolders