Hi,
I need to write a script,which behaves like this,
Given the folder name, it should list the files with today's timestamp.
Please direct me on this.
Thanks.
Hi,
I need to write a script,which behaves like this,
Given the folder name, it should list the files with today's timestamp.
Please direct me on this.
Thanks.
first:
$_date=$(date +%Y-%m-%d)
second:
$ls --full-time|awk '/'$_date'/{print $NF}'
by the way:i can't express it,sorry
or use the find command.
e.g. find /home/usr -atime 1
do
man find
for more info on the find command.