02-21-2013
Maybe filezilla thinks the windows machine is 8.3 and truncates at 12 bytes? Is it the latest version?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to transfer the approx 10k files available on UNIX Server to Windows Server using FTP Command. is it possible? how ?
Thanks in advance.
Sachin. (1 Reply)
Discussion started by: ssachins
1 Replies
2. Shell Programming and Scripting
Hi
I am having difficulty copying files from one dir to another due to a space in the names of the file with an extension .rtf
There are a group of files and the command am using is
cp `ls -rt /wlblive/home/whiops/ops/RTFs/*.rtf|head -20` /wlblive/home/jamshed
Since the files are... (3 Replies)
Discussion started by: jamshedj
3 Replies
3. UNIX for Dummies Questions & Answers
All,
I have a requirement where Iwill be getting the CSV files on windows Shared Drive, and I need to copy those to my unix directory...
Is there anyway we can do this??
Thanks,
freakabhi (4 Replies)
Discussion started by: freakabhi
4 Replies
4. Shell Programming and Scripting
Hi,
I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile.
When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message.
Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies
5. Shell Programming and Scripting
Hi,
I have a requirement to move the files between two drives in windows machine from Korn sheel. I came to know that It can be done through RCP.
Can any one help me with syntax for connecting to Windows machine and moving the files with RCP in KSH?
Thanks in advance.
Double post.... (0 Replies)
Discussion started by: Raamc
0 Replies
6. Shell Programming and Scripting
Hi,
I've a problem. Here is the code:
#!/bin/ksh
echo "enter a file name"
read a
cd /home/linux1/sam
if
then
echo "file exists"
cp $a $a_bkp
else
echo "file doesn't exist"
fi
when executed the o/p is:
enter a file name
contact
file exists
cp: missing destination file (4 Replies)
Discussion started by: sam_bd
4 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I've been tangoing with this one for a couple of days now and I'm still not making any progress.
Basically I'm trying to match three numbers in a string from a text file with matching numbers in a jpeg, and then copying the results to another folder.
Data looks like this:
Model:... (4 Replies)
Discussion started by: faceonline
4 Replies
8. Shell Programming and Scripting
Hello,
I want some directions for a command inside a shell script which would copy files from some path on my windows os (say my documents) to the path where my shell script is saved and I want it to exit the sftp session and continue executing the remaining lines in my shell script after... (2 Replies)
Discussion started by: Vishwa308
2 Replies
9. Shell Programming and Scripting
Hi, i am new to shell scripting. i have a requirement to copy the files from a windows shared location( vendor will place the files here) to Linux server( my Informatica will pick the files from this location). Files should be loaded in the order in which they were placed in windows box.(Based on... (1 Reply)
Discussion started by: Haari
1 Replies
10. UNIX for Dummies Questions & Answers
Hi guys
Let me start by saying that I'm a newbie, so feel free to point me to any good reading material. What I wanted to do is copy some specific files from windows to unix. Let me elaborate my view.
Let's say I have some directory tree in unix, CHO-species/C2H1O1/ VAS-S005-001-Ru444/OPT-0/,... (16 Replies)
Discussion started by: saleheen
16 Replies
LEARN ABOUT OPENSOLARIS
regcmp
regcmp(1) User Commands regcmp(1)
NAME
regcmp - regular expression compile
SYNOPSIS
regcmp [-] filename...
DESCRIPTION
The regcmp command performs a function similar to regcmp and, in most cases, precludes the need for calling regcmp from C programs. Bypass-
ing regcmp saves on both execution time and program size. The command regcmp compiles the regular expressions in filename and places the
output in filename.i.
OPTIONS
- If the - option is used, the output is placed in filename.c. The format of entries in filename is a name (C variable) followed by
one or more blanks followed by one or more regular expressions enclosed in double quotes. The output of regcmp is C source code.
Compiled regular expressions are represented as extern char vectors. filename.i files may thus be #included in C programs, or
filename.c files may be compiled and later loaded. In the C program that uses the regcmp output, regex(abc,line) applies the regu-
lar expression named abc to line. Diagnostics are self-explanatory.
EXAMPLES
Example 1 Examples of the regcmp command.
name "([A-Za-z][A-Za-z0-9_]*)$0"
telno "({0,1}([2-9][01][1-9])$0){0,1} *"
"([2-9][0-9]{2})$1[ -]{0,1}"
"([0-9]{4})$2"
The three arguments to telno shown above must all be entered on one line.
In the C program that uses the regcmp output,
regex(telno, line, area, exch, rest)
applies the regular expression named telno to line.
ENVIRONMENT VARIABLES
A general description of the usage of the LC_* environmental variables can be found in environ(5).
LC_CTYPE Determines how regcmp handles characters. When LC_CTYPE is set to a valid value, regcmp can display and handle text and
filenames containing valid characters for that locale.
LC_MESSAGES Determines how diagnostic and informative messages are presented. This includes the language and style of the messages, and
the correct form of affirmative and negative responses. In the "C" locale, the messages are presented in the default form
found in the program itself (in most cases, U.S. English).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtoo |
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
regcmp(3C), attributes(5), environ(5)
SunOS 5.11 Dec 20 1996 regcmp(1)