create WDOTD in yearly and monthly folder
This commit is contained in:
parent
6c367db234
commit
a1f2238de6
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ if [[ $- = *i* ]] ; then
|
||||||
|
|
||||||
# Create and link Work-Dir of the Day
|
# Create and link Work-Dir of the Day
|
||||||
|
|
||||||
WDOTD=$(date "+${HOME}/archive/work_%Y%m%d")
|
WDOTD=$(date "+${HOME}/archive/work/%Y/%m/work_%Y%m%d")
|
||||||
[ -e $WDOTD ] || mkdir -p "${WDOTD}"
|
[ -e $WDOTD ] || mkdir -p "${WDOTD}"
|
||||||
[ -h "${HOME}/WORK" ] && ln -sf "${WDOTD}" "${HOME}/WORK"
|
[ -h "${HOME}/WORK" ] && ln -sf "${WDOTD}" "${HOME}/WORK"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue