Or try:
diff --brief -r Dir_A Dir_B

--brief would list out the files that are differing & not the details.

Sreeji

On Fri, 15 Dec 2000, sreangsu acharyya wrote:

> 
> you can try this
> 
> find . -ctime 4 |xargs tar -cvzf mytarfile.tgz
> 
> here 4 means any file created or modified on the last 4 days. You can fine
> tune the find criteria for your purpose. if the server of yours allows ftp
> you can also try ncftp ( provided you keep the same local directory
> structure)
> 
> sreangsu
> 
> 
> On Fri, 15 Dec 2000, [EMAIL PROTECTED] wrote:
> 
> > Hello Folks,
> > 
> > I need to find a list of files which are modified OR new in directory B
> > when compared to directory A
> > 
> > I dont need the additional info given out by diff - just the file names
> > 
> > I need to know this so that I can tar and upload only those files to my
> > site
> > 
> > Thanks in advance
> > 
> > Tarique
> > 
> > 
> 
> -- 
> 
> 
> 
> ----------------------------------------------
> LIH is all for free speech.  But it was created
> for a purpose.  Violations of the rules of
> this list will result in stern action.
> 


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to