Sfoglia il codice sorgente

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

Lu Stadler 7 anni fa
parent
commit
b107574c48
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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"