This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:unix:fall2023:projects:dac0 [2023/09/04 19:21] – [What actions can be performed on an archive?] morcutt | notes:unix:fall2023:projects:dac0 [2023/09/05 23:59] (current) – [Updating current repository] jbernata | ||
---|---|---|---|
Line 24: | Line 24: | ||
Compression is a technique used to reduce file size. | Compression is a technique used to reduce file size. | ||
====How does compression differ from archiving? | ====How does compression differ from archiving? | ||
+ | Short answer: Archiving stores multiple files in one file without changing the size the files take up, compression changes the bit pattern to reduce the size of the file or files. | ||
====Types of compression (lossy vs lossless)==== | ====Types of compression (lossy vs lossless)==== | ||
Line 32: | Line 32: | ||
In the UNIX class Public Directory on lab46 you will find a **dac0/** subdirectory. You can reach the directory by **cd / | In the UNIX class Public Directory on lab46 you will find a **dac0/** subdirectory. You can reach the directory by **cd / | ||
+ | Next unzip each of the files using tar "-cf file.tar" | ||
+ | |||
+ | Check each of the text files, some are in English and others you will have to reverse, flip, or decode using the commands in the toolbox above. | ||
+ | |||
+ | Once this is done use the stat "-c %s filename" | ||
=====Repository Operations===== | =====Repository Operations===== | ||
Line 50: | Line 55: | ||
You can pull changes from the server by using the "Hg pull" command. | You can pull changes from the server by using the "Hg pull" command. | ||
====Updating current repository==== | ====Updating current repository==== | ||
+ | hg update to update your system after everything has been pulled |