Thread: File with timestamp from lastfile
i'd have script, creates file "lastfile", takes not current time bute timestamp last file created in directory.
example run script 2 pm, last file created @ 1pm, newly generated file should have 1pm timestamp.
possible?
yes, mybrain87
of course it's possible brains , ubuntu
tryworks me: creating empty file timestamp of newest file in current directory.code:rm lastfile;for in $(ls -tr);do command=$(echo touch lastfile -r "$i");done;$command
have fun finding out
olle
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help File with timestamp from lastfile
Ubuntu
Comments
Post a Comment