0
votes
1answer
208 views

Compress and remove logs from jboss on linux with cron

I need to compress and remove log files after some time from serwer. I have never write scripts before. So far i have script logs.sh: #!/bin/bash LOGS=/usr/local/jboss/server/default/log/ ...
5
votes
3answers
151 views

how to make rsync not uncompressing files?

I'm using rsync to copy files between servers, I'm using -z option what compresses data only for the network transfer stage. But I would like to leave compressed files on remote machine and I have ...
0
votes
1answer
655 views

stuffit compression on linux? [closed]

I have a stuffit archive (.bin). I only have access to linux, how do I uncompress it? File Roller claims the ability to uncompress the archive, but it is unable. Wikipedia lists two resources to ...
2
votes
1answer
1k views

Can the encryption option with zip on Linux when used from the command line?

Can the encryption option on Info-ZIP be used from the command line? The zip man page says: -e --encrypt Encrypt the contents of the zip archive using a password which is entered on the terminal ...
0
votes
1answer
165 views

Different options on btrfs subvolumes

I'm using kernel 3.0 and was wondering if btrfs supports / is planning to support different options on different subvolumes. For example I'd like to turn compression on for /usr, /lib, ..., but not ...
3
votes
2answers
603 views

7z all files in directory, remove originals

I have some directories (linux machine) full of highly compressible *.foo files. Right now I just have a script that does gzip *.foo and it gzips each file into its own .gz file, and removes the ...
0
votes
1answer
120 views

Do any of you use lrzip on your servers?

I have been reading about this: https://github.com/epa/lrzip and it seems that lrzip gets more bang for your money. My initial tests however showed takes quite long using lrztar. Any one here have ...
2
votes
3answers
142 views

Single line command/script to archive a certain amount of folders

I'm looking for a single line command or a script that archives 5 folders into .tar files (no gzip/bzip needed) in a certain directory and deletes the folders after a successful compression. It has to ...
0
votes
4answers
1k views

Decompressing Files on an NTFS Volume from Linux

I recently did something stupid on my dual-boot laptop, where I compressed the entire volume to make room for a Linux partition. For some reason, Windows let me compress C:\ntldr. Now I need to get it ...
4
votes
3answers
1k views

silent 7za compression

Without doing stdout redirection. Is it possible to have a silent run of 7za?
3
votes
3answers
950 views

Incremental backup of site

I want to make periodical archive of my site. I have lftp script to download site content via ftp to today (date +%Y%m%d) directory. What is best way to make an incremental compressed backup without ...
6
votes
7answers
387 views

Compress and host large amounts of static HTML

I currently run a small website which is being used to host large amounts of (generated) static HTML. The problem is that disk space is limited, and the HTML is growing by 1GB a week. (The files are ...
2
votes
3answers
2k views

How do you set bzip2 block size when using tar?

I am using tar to backup a linux server to tape. I am using the -j option to compress the file with bzip2, however I can't see a way to adjust the block size options for bzip2 from tar. The default ...