I've file contain many of epoch / UNIX timestamps need to add for example +10 days for output date so then I will get new date
and I've create bash script with date command but seems doesn't work
for i in `cat stamp.txt`; do date -d @$i "+10 days" '+%F %T'
got error like
date: invalid option -- '1' Try `date --help' for more information.
since if i run it for date of today is work
date -d "+10 days" is work
also the convert is work
date -d @1469411110 '+%F %T' is work
date -d "1970-01-01 UTC $i seconds +10 days" '+%F %T', which should be equivalent, I think
date -ud .....