|
|
|
How do I compress files?
Via the SAS Account Configuration Page
- Go to the SAS Account
Configuration Page.
- Log in with your mail.sas username and password.
- Click on Account Maintenance.
- You will then see a list of your files and folders.
- Select Compress from the drop-down menu next to the
size of the files and folders that you want to compress.
- Click Update account.
- Click on Logout.
- To uncompress files or folders, follow the same steps, but select
Decompress from the drop-down menu.
Via an SSH connection to mail.sas
There are two general ways to compress your files.
- The first method is to run the program clean-acct
from the [MAIN MENU] prompt. This program goes through your files and
gives you the option of deleting/compressing them or leaving them as
they are.
- The other method is through unix.On mail.sas, the two common compression
programs are compress and gzip.
- To compress a file, type the following from the unix prompt: %
gzip filename. The compressed file will now have a .gz
extension. The clean-acct
program uses this compressesion algorithm. To uncompress this file,
type: gunzip filename.
- You can also compress files by typing: % compress filename.
The compressed file will have a .Z extension at the end.
To uncompress this file, just type: uncompress filename.
- To see if your files are compressed or uncompressed, use the ls
command.
Make a New Search
Last modified: Thursday, 25-Sep-2003 16:56:11 EDT
|
|