On Thursday 07 February 2002 02:22 pm, Federico Voges warbled: > >Read that as I said but you need to be psychic to understand what its > > saying as with most man pages. > > > >> Not-so-short answer: > >> > >> You don't need to ssh first. > >> > >> File xfer (remote to local) > >> scp user@host:/path/source_file /local/path/[new_filename] > > > >Can you use a 'directory name' for remote and use -r ? > > Yes, you can. IIRC, if you include the last "/" (eg: > /home/fvoges/docs/) it will create the directory: > > scp -r user@host:~/docs . > will copy everything in the docs dir (recursively) to the current dir. > > scp -r user@host:~/docs/ . > will create a new docs directory in the current (local) dir. The, it > will copy everything in the docs dir (recursively) to it.
Ok thanks for the help, but the help means absolutely nothing to me. So I have a remote site www.eastwind.com.au wherein lies a dir called 'photos' I want to rewrite the site and put up about 650 photos; I only have ssh access. I ssh in and then cd to /home/webroot/eastwind/docs; at this point i can call scp, but from that point I have had no success. What do I use in the user@host: position my login on the remote machine and my hostname here or what ? Sorry I have no idea what user@host: stands for. Everytime I enter anything all I get is: kantoine@univac:/home/webroot/eastwind/docs$ scp -r kantoine@CPE-203-45-140-190:/photos/ usage: scp [-pqrvC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2; or: scp [options] f1 ... fn directory Until recently I have always used ftp to get to the site so ssh is a closed book and there are NO examples out there to explain what to do. Howto and man are useless. Lastly I am a h/w man not a software guy. -- Keith Antoine aka 'skippy' 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161 Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage _______________________________________________ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.