2
votes
1answer
58 views

Compressing many folders

I have a directory containing plenty of folders as well as compressed files. I need to compress the folders that are not already so (tar -cvzf ...) but have no experience in sh scripts. Can anyone ...
0
votes
1answer
707 views

Make the daily log rotate run on exact time

I have Ubuntu 12.04.2 LTS server. My daily log rotations which are listed under /etc/logrotate.d/ are executed at the morning around 7:00 am, but it is not on exact time, each day it changed on range ...
1
vote
1answer
503 views

Estimating compressed file size using a list parameter

I am currently compressing a list of files from a directory in the following format: tar -cvjf test_1.tar.gz -T test_1.lst --no-recursion The above command will compress only those files ...
10
votes
5answers
4k views

Command line archive manager / extracter

I keep forgetting all the corresponding extract commands for every compression format. So I was thinking about writing a script that merely maps file extensions to the appropriate extract command. ...