Skip to navigation
get the day different from today and when a file get created in bash
17.10.19
fd=`stat -c %y ${tmp_file_path}` file_date=$(date -d "${fd}" '+%y%m%d') today_date=$(date '+%y%m%d') echo $file_date echo $today_date diff=$(( ($(
https://ss64.com/bash/date.html
Reply
Anonymous
Information Epoch 1732624312
You can always add complexity.
Home
Notebook
Contact us