Activity 11 - Store and protect files

Workshop Resources
Uma foto de Nuvi
Thanks so much for helping us fix my machine! Now let's get everything up into one nice package.

Secure your files, so they don’t get tampered with again

tar is a command that creates and extracts archived files.

An archive is a collection of archive files. An archive file holds the compressed data of one or more files.

zip is a command that compresses a set of files. The format is: zip [name of zip file] [filenames to be zipped]

The format is: tar [filenames].

-ccreates archive
-xextracts archive
-fcreates archive with given filename

Use tar to secure your directory of files! You are going to want to create an archive with the name files.tar.gz.

tar command