Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 9th, 2002, 03:28 AM
Dreidle Dreidle is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 10 Dreidle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Comparing Files Locally & Sitewide ??

Is there a tool out there similar to cuteftp's compare ? Instead of comparing one directory, I need to compare files from my server to my local drive *site wide* throughout many directories, is this possible ???

-Dreidle

Reply With Quote
  #2  
Old April 9th, 2002, 03:51 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 44 m 46 sec
Reputation Power: 25
Not that this is in any way related to databases though, checkout rsync if you're on *nix...

//NoXcuz
__________________
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep

Reply With Quote
  #3  
Old April 9th, 2002, 03:59 AM
Dreidle Dreidle is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 10 Dreidle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
that this is in any way related to databases though, checkout rsync if you're on *nix

that this is in any way related to databases though, checkout rsync if you're on *nix...

Sorry about the dbase thing, thought i was in general questions....

Regaurding *nix sorry what is that ?

Dreidle

Reply With Quote
  #4  
Old April 9th, 2002, 04:21 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 44 m 46 sec
Reputation Power: 25
*nix means Unix, Linux, BSD etc. All unix-flavoured OS's got the ability to use this tool.

From the manpage of rsync:
DESCRIPTION
rsync is a program that behaves in much the same way that
rcp does, but has many more options and uses the rsync
remote-update protocol to greatly speedup file transfers
when the destination file already exists.

The rsync remote-update protocol allows rsync to transfer
just the differences between two sets of files across the
network link, using an efficient checksum-search algorithm
described in the technical report that accompanies this
package.

Some of the additional features of rsync are:


o support for copying links, devices, owners, groups
and permissions

o exclude and exclude-from options similar to GNU tar

o a CVS exclude mode for ignoring the same files that
CVS would ignore

o can use any transparent remote shell, including rsh
or ssh

o does not require root privileges

o pipelining of file transfers to minimize latency
costs

o support for anonymous or authenticated rsync
servers (ideal for mirroring)


GENERAL
There are six different ways of using rsync. They are:

o for copying local files. This is invoked when nei
ther source nor destination path contains a : sepa
rator


o for copying from the local machine to a remote
machine using a remote shell program as the trans
port (such as rsh or ssh). This is invoked when the
destination path contains a single : separator.


o for copying from a remote machine to the local
machine using a remote shell program. This is
invoked when the source contains a : separator.


o for copying from a remote rsync server to the local
machine. This is invoked when the source path con
tains a :: separator or a rsync:// URL.


o for copying from the local machine to a remote
rsync server. This is invoked when the destination
path contains a :: separator.


o for listing files on a remote machine. This is done
the same way as rsync transfers except that you
leave off the local destination.

Note that in all cases (other than listing) at least one
of the source and destination paths must be local.

//NoXcuz

Reply With Quote
  #5  
Old April 9th, 2002, 07:31 AM
Dreidle Dreidle is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 10 Dreidle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks a ton dude, i didnt know that cvs had something similar to that ... I'll discuss this with my collegues further, once again thanks for your time!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Comparing Files Locally & Sitewide ??

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap