2
Need with SSH to compact a directory except a specific folder within that directory.
briefcase: /public_html
except for: /public_html/wp-content/uploads/Vista/
How can I perform this operation? I performed a command that was actually deleting the files from except for but that’s not what I want.
This will not delete the files from /View right?
– Marcos Vinicius
No. It will delete the files only from the compressed file.
– Rodrigo Rigotti
I cannot delete the files.
– Marcos Vinicius
@Marcosvinicius he meant it will not add to the compressed when said "It will delete the files only from the compressed file"
– Guilherme Nascimento
Rest assured. The argument
--exclude
refers to the commandtar
, has nothing to do with the file system or anything like that.– Rodrigo Rigotti
And when I use zip ?
– Matheus Vitor