Réponse
tar -czf files.tgz ~/files
Colonne
Explication
tar - command to make tar, an archive
c – Creates a new .tar archive file.
z – Option to create a compressed gzip archive file
f – File name type of the archive file. f should be followed by the name of the file that contains archives
files.tgz - name of file
~/files - the path, absolute or relative, to the folder where the tgz will be stocked
Question
create an compressed archive file (tgz) of everything found in the folder ~/files?
Thématique