tar -cf /Users/Files/myfile.tar /Users/Files/
I am basically trying to create a tar containing the contents of User/Files and create it in the folder of the contents.
I can only execute this process in one line, so I cannot cd before.
tar -cf myfile.tar /Users/Files/ && mv myfile.tar /Users/Files/
You are archiving a folder and writing in it at the same time. That's really wrong and thankfully it does not work.
Since you are using ssh to pass this command you have most likely use something like this:
But in this example the
By the way, The