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