i have aix6.1
i write script to move file from directory to another
but the source is file name random by time
how can determin the source to move
my script is
xx='ls -ltr |awk '(print $9}''
but the value is all of files in the directory
i need to determin the newer file created
i write script to move file from directory to another
but the source is file name random by time
how can determin the source to move
my script is
xx='ls -ltr |awk '(print $9}''
but the value is all of files in the directory
i need to determin the newer file created