diff options
| author | Elliot Jordan <elliot@elliotjordan.com> | 2015-01-20 13:36:48 -0800 |
|---|---|---|
| committer | Elliot Jordan <elliot@elliotjordan.com> | 2015-01-20 13:36:48 -0800 |
| commit | 6c4607d8531f1b9d5d431f101f5bdf0438d9a5bd (patch) | |
| tree | 5e8df227ad9b77ad956fc058a4e9d8ff968a36d1 | |
| parent | f3a265b07e708ce45cd7ed2d4dd4a86f0ebf39cc (diff) | |
Removed unnecessary $ from arithmetics.
| -rwxr-xr-x | rsync_tmbackup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 7758f90..89e7f27 100755 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -152,8 +152,8 @@ fi # Date logic NOW=$(date +"%Y-%m-%d-%H%M%S") EPOCH=$(date "+%s") -KEEP_ALL_DATE=$(($EPOCH - 86400)) # 1 day ago -KEEP_DAILIES_DATE=$(($EPOCH - 2678400)) # 31 days ago +KEEP_ALL_DATE=$((EPOCH - 86400)) # 1 day ago +KEEP_DAILIES_DATE=$((EPOCH - 2678400)) # 31 days ago export IFS=$'\n' # Better for handling spaces in filenames. PROFILE_FOLDER="$HOME/.$APPNAME" |
