[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No soft-links for scp?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[redirecting to list]

Dotan Cohen wrote:
>> I thought that had been answered already [1].
>>
>
> This is a continuation of that conversation. At that time, I was only
> able to test cp's behaviour locally because I was not actually on the
> network. The cp command behaved as I wanted for making trees of other
> local directories, but now that I'm on the network I see that I cannot
> use it on remote filesystems.
>
>> Alternatively, create the symlinked copy while the remote fs is mounted.
>> When the remote system is up you could use it fully, when not just use
>> the symlinked copy.
>>
>
> I am not 'mounting' the remote file system, I am accessing it via SSH.
> KDE's terrific Konqueror file manager lets one browse a remote
> filesystem via SSH just as if it were local.

Yeah, but IIRC that fish plugin does not have the full functionality of
a mounted fs. Is it accessible (from the command line) with cp?

I don't know a way of creating a symlinked copy in konqueror.

Alternatively, you could just mount it from the command line with

sshfs user@machine:/path/to/dir /path/to/local/mount-point

and then

cp -rs /path/to/local/mount-point /path/to/symlink/copy

You have to add yourself to the 'fuse' group first (and install sshfs,
of course ;-) ).

HTH,

Johannes


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmm0LMACgkQC1NzPRl9qEXbLgCfS1WYYo+bldOOi1NV6KFBrQop
iyAAn33eOOo7KIHIE/et1ztsEI/C7Ql+
=fUfO
-----END PGP SIGNATURE-----


Reply to: