浏览代码

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

Lu Stadler 7 年之前
父节点
当前提交
b107574c48
共有 1 个文件被更改,包括 3 次插入0 次删除
  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"