Przeglądaj źródła

~/.bin/archive-monthly.sh: Describe what the thing does

Lu Stadler 7 lat temu
rodzic
commit
b107574c48
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      .bin/archive-monthly.sh

+ 3 - 0
.bin/archive-monthly.sh

@ -1,5 +1,8 @@
1 1
#!/bin/bash
2 2
3
# Archives hidden files in $HOME to a monthly directory that has
4
# backups.
5
3 6
TARGET="$HOME/d/history-$(date +%Y-%m)"
4 7
5 8
echo "Archiving files (and directories in) $PWD to $TARGET"