Hi,
I use the following code to check if 1.txt's modify time is at epoch
0. But it is not very convenient.
set -v
touch -d @0 {0,1}.txt
stat 0.txt
[[ ! 0.txt -nt 1.txt && ! 0.txt -ot 1.txt ]]
echo "$?"
Is there any better way to do so in bash? Thanks.
--
Regards,
Peng