10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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
stripe(8) System Manager's Manual stripe(8)
NAME
stripe - Stripes a file across several volumes in a file domain
SYNOPSIS
/usr/sbin/stripe -n volume_count filename
OPTIONS
Specifies the number of volumes the striped file crosses. The number of volumes must be greater than one.
OPERANDS
Specifies the name of the file to stripe.
DESCRIPTION
The stripe utility enables you to improve the read/write performance of a file. The stripe utility directs a zero-length file (a file with
no data written to it yet) to be spread evenly across several volumes within a file domain. As data is appended to the file, the data is
spread across the volumes. AdvFS determines the number of pages per stripe segment and alternates the segments among the disks in a sequen-
tial pattern.
Existing, nonzero-length files cannot be striped using the stripe utility. To stripe an existing file, create a new file, use the stripe
utility to stripe the new file, and copy the contents of the file you want to stripe into the new striped file. After copying the file,
delete the nonstriped file.
Once a file is striped, you cannot use the stripe utility to modify the number of disks that a striped file crosses. To change the volume
count of a striped file, you can create a second file with a new volume count, and then copy the contents of the first file into the second
file. After copying the file, delete the first file.
RESTRICTIONS
You cannot stripe a nonzero-length file or a file that is already striped.
EXAMPLES
The following example stripes the file abc across three volumes in the same file domain: # stripe -n 3 abc The following example stripes an
existing, nonzero-length file, foo, across three volumes in the same domain. First a new file, newfoo, is created and striped. Then, the
contents of file foo are copied to the new, striped file: # touch newfoo # stripe -n 3 newfoo # cp foo newfoo
SEE ALSO
advfs(4), showfile(8)
stripe(8)