08-27-2011
The GNU version of cp has the -n (do not overwrite an existing file) option.
This User Gave Thanks to radoulov For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a report file that is generated every day by a scheduled process.
Each day the file is written to a directory named .../blah_blah/Y07/MM-DD-YY/reportmmddyy.tab
I want to copy all of this reports to a separate directory without having to do it one by one.
However, if I try
cp... (3 Replies)
Discussion started by: ken2834
3 Replies
2. UNIX for Dummies Questions & Answers
So I am not sure if this should go in the shell forum or in the beginners. It is my first time posting on these forums.
I have a directory, main_dir lets say, with multiple sub directories (one_dir through onehundred_dir for example) and in each sub directory there is a test.txt. How would one... (2 Replies)
Discussion started by: robotsbite
2 Replies
3. Shell Programming and Scripting
Hi,
i need to use "scp" to copy a file without overwriting the same in destinations.
any suggestion?
thanks
Sivaji (3 Replies)
Discussion started by: sivarajb
3 Replies
4. Shell Programming and Scripting
Hello,
I have a small question and i hope someone can help me, if i have 200 domains directories in my server under this directory
something like
now how i can copy one folder i have to this directories?
Thank You (5 Replies)
Discussion started by: GamGom
5 Replies
5. UNIX for Advanced & Expert Users
I am using below scripts to copy all the files from multiple folders. By executing individually command i am able to copy all the files but using scripts only getting first file. System is ignoring the second CD and mget command.
HOST=server.com
USER=loginid
PASSWD="abc"
echo "open $HOST... (6 Replies)
Discussion started by: meetvipin
6 Replies
6. Shell Programming and Scripting
my directory structure is like below:
basedir\
p.txt
q.htm
r.java
b\
abc.htm
xyz.java
c\
p.htm
q.java
rst.txt
my requirement is i want to copy all the files and directories... (0 Replies)
Discussion started by: ajayyadavmca
0 Replies
7. Filesystems, Disks and Memory
I have a lot of binary files I need to copy to a folder. The folder is already filled with files of the same name. Copying on top of the old files takes MUCH longer than if I were to delete the old files then copy the new files to the now-empty folder. This result is specific to one system -... (3 Replies)
Discussion started by: ces55
3 Replies
8. Shell Programming and Scripting
Hi,
Friends, i have a requirement where i need to rename my files residing in multiple sub directories and move them to one different directory along with some kind of directory indicator.
For eg:
test--is my parent directory and it has many files such as
a1.txt
a2.txt
a3.txt
... (5 Replies)
Discussion started by: gnnsprapa
5 Replies
9. Shell Programming and Scripting
Hey
im working on script that can compare 2 directory and check difference, then copy difference files in third diretory.
here is the story:
in folder one we have 12 subfolder and in each of them near 500 images hosted.
01 02 03 04 05 06 07 08 09 10 11 12
in folder 2 we have same subfolder... (2 Replies)
Discussion started by: nimafire
2 Replies
10. UNIX for Beginners Questions & Answers
Dear all
I have a multiple directories, say for example org1, org2, org3 ..... org100 and each directory having a file namely dnaG.fasta. I need to copy all the dnaG.fasta file from each directory and paste in another directory fastconcatg. Therefore, my script has to copy dnaG.fasta file from... (5 Replies)
Discussion started by: dineshkumarsrk
5 Replies
LEARN ABOUT DEBIAN
ecaccess-event-create
ECACCESS-EVENT-CREATE(1p) User Contributed Perl Documentation ECACCESS-EVENT-CREATE(1p)
NAME
ecaccess-event-create - Create an ECaccess Event
SYNOPSIS
ecaccess-event-create -version|-help|-manual
ecaccess-event-create [-debug] [-overwrite] [-public] [-comment string] event-name
DESCRIPTION
Allow creating an ECaccess Event. As a result the event-id is displayed.
If an event already exists with the same event-name then by default the request is rejected (please check the -overwrite option).
By default an event is private and restricted to its owner. Access can however be shared with other users thanks to the ecaccess-event-
grant command or with the -public option which make it visible to all.
ARGUMENTS
event-name
The name of the Event to create.
OPTIONS
-overwrite
Allow deleting an existing event with the same name and create a new one (the identifier will be however different to the original
one).
-public Allow creating a public event which can be used by everybody. In order to have a better tunning of the permissions please keep the
event private and use the ecaccess-event-grant command instead.
-comment string
Specify the string to display as a comment for the event.
-version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-event-create -public -comment "My Comment" "My Event Name"
Create the new event with the name "My Event Name" and the comment "My Comment". This new event is public and other users can subscribe to
it.
SEE ALSO
ecaccess-event-grant, ecaccess-event-clear, ecaccess-event-send, ecaccess-event-list, ecaccess-event-delete and ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-EVENT-CREATE(1p)