Skip to content

chuguniy/bash-data-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Bash script for compressing data, useful for backup archives.

Tested on RHEL (CentOS) 6!

Highlights

  1. compresses the data into .tar.xz using 4 cores, level of compression set to 9 (can easy be changed)
  2. stores previous archives in separate directory
  3. flexible configuration
  4. resources initial check (source, output, runtime directories read/write rights)
  5. checks for lock file (prevents script execution if source is still created)
  6. text formatting (bold, colored)
  7. e-mail sending on success and or fail
  8. outputs compression info (source size, archive size, compression ratio)
  9. logging and debugging (outputs more info about process)
  10. possibility to change std output (to console and log or log only)

Roadmap

  1. prompts (prevent accidental execution)
  2. exclusions (list of file/directories)

About

Bash script for compressing data, useful for backup archives.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages