10-15-2009
I know the problem and it is a nightmare.
Easy solution is not to use control (read: stupid) characters in filenames.
You could try again with single quotes, with and without the escape character...good luck
You could copy it to a sensible name and then rename it to the old (stupid) name, with the control character, on the destination system.
The short answer is just don't use control (stupid) characters - in files or filenames.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I'm implementing some updates to my scripts that are now using ftp command.
I was thinking about replace it by SFTP.
Now I see that SCP does basically the same that SFTP.
So... what are the differences between them?
Thanks in advance...
;O) (1 Reply)
Discussion started by: alienET
1 Replies
2. UNIX for Dummies Questions & Answers
Ive have 2 unix machines i need to transfer files from one to the other. Im trying to use either sftp or scp as ftp is out of the question. Ive created the RSA key on one machine and copied it across but im still prompted for a password. Assume this is due to the fact that im not using the same ID... (8 Replies)
Discussion started by: devid
8 Replies
3. UNIX for Advanced & Expert Users
My transmit rates are waaay faster using scp over sftp....anyone know why scp is faster than sftp? I am using solaris 8 for my unix systems.
-S (2 Replies)
Discussion started by: Sowser
2 Replies
4. UNIX for Dummies Questions & Answers
Dear Unix Gurus,
I have a question to confirm before I proceed to script my program.
I'm currently running on IBM AIX Ver 5.3.
I just like to know if it's compatible to use scp or sftp between AIX and Wintel server?
I'm trying to scp or sftp a file from AIX to Window server and I was... (1 Reply)
Discussion started by: lweegp
1 Replies
5. Red Hat
Hi,
I want to use sftp/scp without password.How can I do that ??
I plan to use script with scp/sftp and execute by cronjob ,any sample or example?? How can I test the scp/sftp working or not in the same user account , in the same red linux server?? any suggestion ??? (5 Replies)
Discussion started by: chuikingman
5 Replies
6. Shell Programming and Scripting
Hi,
I have to do SFTP from Linux machine to Salaries SFTP folder.
Using psftp I got the following fingur print and I know using scp I can go the sftp transfer. But I believe I need public key file generated. Can some one pls let me know how to generate the public file using following finger... (1 Reply)
Discussion started by: iamakshay
1 Replies
7. Shell Programming and Scripting
Hi All,
I have to make an automated script that needs to do SFTP or SCP from my Unix server to another Unix server.
I have gone through search of this website for sftp and scp.
I really get confused when it talk about ssh key or rsh key and sftp -b thing
I would really appreciate if... (4 Replies)
Discussion started by: pinnacle
4 Replies
8. Solaris
hello all,
I am getting the following error with the SCP/Sftp is getting stalled on solaris 10 .
pxxx_xxx_SOLARIS64_1of7.zip 0% 2068KB 0.0KB/s - stalled -Write failed: Broken pipe
pxxx_xxx_SOLARIS64_1of7.zip ... (2 Replies)
Discussion started by: Sojourner
2 Replies
9. Shell Programming and Scripting
I have read documentation on SCP and just trying to figure out how go about doing this - below are two pieces of code, one is SFTP and one is SCP. My goal is to have this done via password-less authentication, fully automated. Currently we use SFTP and the script asks for the password of the... (20 Replies)
Discussion started by: Stigy
20 Replies
10. Shell Programming and Scripting
Hi,
I was provided with sftp servername, user and password and the requirement is to connect to sftp server using credentials provided and drop the file.
Manually i am able to connect with commands like
sftp user@servername
and after clicking enter, i was asked for a password and entering... (4 Replies)
Discussion started by: forums123456
4 Replies
LEARN ABOUT DEBIAN
parallel-scp
PARALLEL-SCP(1) PARALLEL-SCP(1)
NAME
parallel-scp - parallel versions of scp
SYNOPSIS
parallel-scp [OPTIONS] -h hosts.txt local remote
DESCRIPTION
pssh provides a number of commands for executing against a group of computers, using SSH. It's most useful for operating on clusters of
homogenously-configured hosts.
parallel-scp copy files in parallel to a set of machines.
OPTIONS
-r --recursive
recusively copy directories (OPTIONAL)
-h --hosts
hosts file (each line "host[:port] [user]")
-l --user
username (OPTIONAL)
-p --par
max number of parallel threads (OPTIONAL)
-o --outdir
output directory for stdout files (OPTIONAL)
-e --errdir
output directory for stderr files (OPTIONAL)
-t --timeout
timeout (secs) (-1 = no timeout) per host (OPTIONAL)
-O --options
SSH options (OPTIONAL)
-v --verbose
turn on warning and diagnostic messages (OPTIONAL)
EXAMPLE
The following example runs hostname on three machines (IPs or hostnames) specified in the file ips.txt using login irb2 and saves the
output in /tmp/foo.
# parallel-scp -h ips.txt -l irb2 /etc/hosts /tmp/hosts
Success on 128.112.152.122:22
Success on 18.31.0.190:22
Success on 128.232.103.201:22
ENVIRONMENT
All four programs take similar sets of options. All of these options can be set using the following environment variables:
o PSSH_HOSTS
o PSSH_USER
o PSSH_PAR
o PSSH_OUTDIR
o PSSH_VERBOSE
o PSSH_OPTIONS
SEE ALSO
parallel-ssh(1), parallel-slurp(1), parallel-nuke(1), parallel-rsync(1), ssh(1), scp(1),
AUTHOR
Brent N. Chun <bnc@theether.org>
COPYING
Copyright: 2003, 2004, 2005, 2006, 2007 Brent N. Chun
NOTES
1. bnc@theether.org
mailto:bnc@theether.org
03/30/2009 PARALLEL-SCP(1)