LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   find . -mtime +1 | xargs ls -ltr, giving different output on same OS (https://www.linuxquestions.org/questions/linux-general-1/find-mtime-1-%7C-xargs-ls-ltr-giving-different-output-on-same-os-4175478506/)

hamijami 09-25-2013 10:09 AM

find . -mtime +1 | xargs ls -ltr, giving different output on same OS
 
find . -mtime +1 | xargs ls -ltr, giving different output on same OS

I am executing find . -mtime +1 | xargs ls -ltr on Linux SuSe V10, patch 1 on two different servers but i am getting different output on both servers.

colucix 09-25-2013 10:42 AM

Can you show us what are the difference and what do you expect it to be? Maybe the two servers have a different system time? What is the output with the -daystart option?
Code:

find . -daystart -mtime +1 -ls


All times are GMT -5. The time now is 01:33 PM.