Dear All,
We are having the script which is creating the folder on another server if it is not present using ssh. Using scp it copies copy all pdf files from local folder to server folder.
After all copy is done, Just to verify i was using the below find command
find /my_loc/my01/RPD/XP1023/OUT/ -type f -mmin 120 | wc -l
now I again transfer 400 file but when i use above command it give me wrong count.
just to mention script is creating any random folder under /OUT and copying the file.
find /my_loc/my01/RPD/XP1023/OUT/random-folder
I also tried and it did not work
find /my_loc/my01/RPD/XP1023/OUT/*/ -type f -mmin 120 | wc -l
i tried mtime, cmin nothing seems working.
can somebody please help me what i am doing wrong.