LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-25-2013, 10:09 AM   #1
hamijami
LQ Newbie
 
Registered: May 2012
Posts: 12

Rep: Reputation: Disabled
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.
 
Old 09-25-2013, 10:42 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,503

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xargs with output of find thund3rstruck Programming 6 07-17-2011 08:26 AM
[SOLVED] Command to find only mtime ddenton Linux - General 3 08-12-2010 02:57 PM
Find with -exec argument - not giving proper output..how to find... hinetvenkat Linux - Server 4 01-25-2010 06:19 AM
using find to compare file mtime with another file's mtime TheFueley Linux - Newbie 1 12-23-2008 08:06 PM
mtime in find vs ls lslade Linux - Software 0 11-17-2005 01:06 PM


All times are GMT -5. The time now is 03:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration