bash   49705

« earlier    

backup - Simple backup script utilising OpenSSL, tar and rsync, written in bash
* Features
Incremental backup retention
Backups are encrypted with AES256-cbc with SHA1 message-digest
The backup script can store a copy both locally and on a remote device/server
Backups are sent over SSH
Currently supports GNU/Linux and FreeBSD
====
Backup Retention

By default:

Daily backups are retained for the past week
Weekly backups from Mondays are retained for the past month
Monthly backups from the first Monday of each month are retained for the past six months
The retention lengths are adjustable in backup.cfg:

If desired, the backup deletion can be run seperately:

To delete local backups, run "deleteoldbackups.sh"
To delete remote backups, run "deleteoldbackups.sh --remote"
freebsd  backup  tar  rsync  shell  bash  cli 
yesterday by dusko
Shell Scripts Matter
The shell is an odd beast. Although it goes against every current trend in software engineering (strong typing, compile checks over runtime checks, ...), shell scripts are here to stay, and still constitute an important part of every developer's life.
bash 
yesterday by nesium
Emacs Keybindings in Bash
CTRL-P go to the Previous command in your history
CTRL-N go to the Next command in your history
CTRL-R Reverse-search through your history
CTRL-S Search forward through your history
CTRL-A Move the cursor to the beginning of the line
CTRL-E Move the cursor to the end of the line
CTRL-W delete a Word backwards
ALT-D delete a word forwards
CTRL-F move the cursor Forward 1 character
CTRL-B move the cursor Backward 1 character
ALT-F move the cursor Forward 1 word
ALT-B move the cursor Backward 1 word
ALT-_ undo
emacs  shell  bash  keybinding  keybindings  hotkey  hotkeys 
2 days ago by dza
BashFAQ/105 - Greg's Wiki
Info about set -e in bash and why it might not be a good idea.
bash  script  error  exception  handling  set  -e 
2 days ago by christianmlong

« earlier    

related tags

%on_github  -e  2013  2017  acme  alternatives  apple  atom  automate  awesome_x_list_trends  awk  backup  bash_profile  basher  bashisms  bashrc  best_of  bestpractice  bestpractices  bookmarked_on_site  bugs  certs  cheatsheet  cli  code  codes  color  command_line  commandline  commands  concurrency  conemu  configuration  console  data  dev  development  dotfiles  emacs  encryption  error  example  exampleused  exception  exit  extension  filesystem  fish  for  forumthread  freebsd  git  github  grep  handling  homebrew  hosting  hotkey  hotkeys  howto  if  information  init.d  inotify  interactive  javascript  keybinding  keybindings  koorik  laravel  less  letsencrypt  linux  lists  login  loop  ls  lua  mac  manager  manual  math  mint  mouse  multiple  navigation  networking  non-login  nycda  online  open_source  osx  package  packet  parameter  path  pattern  pdf  perl  php  productivity  profile  programming  prompt  ps1  ps2  putty  python  rc.local  rc  reference  references  repl  rsync  ruby  script  scripting  scripts  set  shell  shellcheck  snippets  spikker  ssh  ssl  stackexchange  startup  starup  substitution  sysadmin  tail  tar  tcp  term  terminal  terraform  test  testing  textmate  tips  tmux  tool  tools  toshare  tricks  tutorial  udp  unix  useful  utilities  variable  vim  vscode  web  wget  while  windows  windows_10  wsl  zsh 

Copy this bookmark:



description:


tags: