add date in default output filename

Signed-off-by: Tomasz Kapias <tkapias@git.tkapias.net>
This commit is contained in:
Tomasz Kapias 2023-02-18 14:33:48 +01:00
parent 2d8b963916
commit 373e71b8a8

View file

@ -63,9 +63,9 @@ fi
if [[ -z $_FILENAME ]]; then
if [[ -z $_LISTNAME ]]; then
_FILENAME="gh_starred_${_USERNAME}.opml"
_FILENAME="gh_starred_${_USERNAME}_$(date '+%y%m%d%H%M').opml"
else
_FILENAME="gh_starred_${_USERNAME}_${_LISTNAME}.opml"
_FILENAME="gh_starred_${_USERNAME}_${_LISTNAME}_$(date '+%y%m%d%H%M').opml"
fi
fi