Put Command Switches
I am trying to use the put command to move files from a Windows source folder to a Linux remote folder. I want to delete the Windows files. My syntax is as follows: "put -delete c:\temp\scp\*.txt" (no quotes). However, I receive an error message indicating the file or folder '-delete' does not exist. I have tried put without and switches, and it works fine (except no source files are deleted). I have tried put with other switches shown in the documentation, and I can't get them to work either. Is my syntax incorrect? Do the switches not work? It' critical the the files get moved and not copied as the files in the source folder change, and I cannot perform a mass delete after a copy. Any suggestions would be appreciated. Thanks.