In this article, it is intended to discuss the following utilities that are used to compress and uncompress files in Linux:
tar
gzip & gunzip
bzip2 & bunzip2
tar
ENVIROMENT
Linux: Fedora Core release 1 (Yarrow)
iPlanet: iPlanet-WebServer-Enterprise/6.0SP1
Log Path: /usr/iplanet/servers/https-company/logs
I have iPlanet log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
how do i remove sub directories of a directory and all files which are older than 7 days by a single command in AIX. pls help me.
I am using command as
#find /gpfs1/home/vinod/hpc/ -depth -type d -mtime +7 -exec rm -rf {} \;
so i want to delete all sub directories and all files from the hpc dir. which are older than 7 days.
So what I wanted to do is compress files (using 7zip) and split a 600MB folder into 199MB parts, but sadly when I tried to do this task with archive manager it gave me an error, but I know that if I use terminal it will work.
I have script for finding files of certain type and compress them to a single tar archive and put in to other place. But now, there is a change in requirement, that I need to find files of certain type, list it and compress each of them to a tar archive and put it to other place.
How to find and delete older files (older than 7 days) in a folder using a bash script? Its a folder in a server which contain automatic backups. Need to delete old ones automatically so there's space for new ones.
I have access to a server via SSH, I download files from it over SFTP or HTTP. I want to pull down a 4.4GB .mkv file but I have limited bandwidth.
I have used zip, gzip and p7zip, but the file is always 4.4GBs after the compression process. After fiddling with some of the CLI args I managed on one attempt to get the file down to 4.3GBs.
Good morning,
I have a file that is 200 MB and I want to compress it to the fullest, which is the best method or command to compress files in aix?
Thank you very much and best regards.
You may at times need to create a series of small compress files for a big file ( for instance, when you want to upload a very big file to Mediafire or Rapidshare, you will need to split this file into small parts). In Windows, the most popular tool for this task is WinRar to create rar files. In Linux, you can use the rar utility to compress a big file then split in into small parts as well.