Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Comparing Directories on different servers

by snoopy (Deacon)
on May 27, 2009 at 22:50 UTC ( #766531=note: print w/ replies, xml ) Need Help??


in reply to Comparing Directories on different servers

Update: Both almut and ig have already mentioned remote mounting. Here's some more background on doing this over ssh or ftp.

On a 'nix system, non-root users can mount remote directories as a pseudo filesystem in user space, say using sshfs, or CurlFtpFs

Both of these are underpinned by the absolutely brilliant FUSE (File System in User Space).

Once mounted, you can, for example, access the file systems from the shell. You can also use utilities such as File::Find.

If you have ssh access to the remove server, and sshfs is installed:

% mkdir -p sshfs/someuser@somehost % sshfs someuser@somehost: sshfs/someuser@somehost % cd sshfs/someuser@somehost % ls -l # list remote files % echo awesome\! >cool.txt # create a file on the remote server
If you only have ftp access to the remote host, curlftpfs does the same sort of thing:
% mkdir -p ftpfs/someuser@somehost % curlftpfs ftpfs/someuser@somehost someuser:mypass@somehost % cd ftpfs/someuser@somehost % ls


Comment on Re: Comparing Directories on different servers
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://766531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-10-22 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls