Re: put -delete file contents of a folder but keep the folder
Are you referring to the folder
If to the folder itself, adding
Actually, you should be getting a warning suggesting that:
(I do, when I try your script)
TEST
? Or to some subfolders of it.
If to the folder itself, adding
*
to the end of the path should fix it.
Actually, you should be getting a warning suggesting that:
Selecting files using a path ending with slash is ambiguous. Remove the slash to select the folder. Append * mask to select all files in the folder.
(I do, when I try your script)