09-28-2004
when I make
cp -pr users/abc/def/car.exe own
unix only creates a file "own" with the content of "car.exe" under the root folder, that's nonsense.
What folder are you in when you run the command? I know that maybe a basic question... I would use the FULL path just to be sure.
also, dont designate the destination filename. Allow the cp to use the same name you original file has.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Under the home directory, I want to search for all the *.xml files and move them all into another folder under home.
Is it possbile using a single find command .
Regards,
Chirayu Sutaria (6 Replies)
Discussion started by: chirayus
6 Replies
2. UNIX for Advanced & Expert Users
hi all
i have a script,which when executed must copy 3 files from a directory on boxA to the same directory on boxB.I'm using scp to copy these files,the problem is out ofthe 3 files only1 is been copied and not the other 2, i have permissons for the files,any ideas are appreciated
thnks (2 Replies)
Discussion started by: bkan77
2 Replies
3. SCO
How do you copy files fra a cd-rom to a directory on the computer? (2 Replies)
Discussion started by: Schnell
2 Replies
4. UNIX for Dummies Questions & Answers
hello
i would like to copy files from 1 location to a nother, but it has only to copy files which are newer or have a different filesize.
all has to be logged to a copy.log file (als skipped files should be in the log)
is this possible with the cp command (1 Reply)
Discussion started by: arnoldg
1 Replies
5. UNIX and Linux Applications
how i can copy all files " select all " in one step
t try command cp -t (2 Replies)
Discussion started by: walidfinder
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Team,
I am unable to copy the files, when i run the below script, i am getting error as file not present, not sure what i am missing.
# File to be looked upon
File_Pattern='*.zip'
TMP_FILE=flagfile
Check=`find $Directorypath -name $File_Pattern -type f -newer $TMP_FILE -print |... (6 Replies)
Discussion started by: Naveen_5960
6 Replies
7. Solaris
Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS.
I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies
8. Shell Programming and Scripting
....... (2 Replies)
Discussion started by: pcbuilder
2 Replies
9. Red Hat
I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs..
even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies
10. UNIX for Dummies Questions & Answers
Hi all, I am a bit of a beginner with shell scripting..
What I want to do is merge two drives, for example moving all data from X to Y.
If a file in X doesn't exist in Y, it will be moved there.
If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies
car(1) GNU Telephony car(1)
NAME
car - crytographic archiver.
SYNOPSIS
car [options] [paths...]
car --decode [.carfile]
DESCRIPTION
Creates and decodes portable cross-platform crytographic archives. An archive can be a collection of files, or an in-stream message that
is piped. Output can be to a binary .car file, or ascified text. A symetric cipher is used, and the passhrase is hashed to form a key.
OPTIONS
--cipher=name
Specify symetric cipher. By default 256 bit aes is used.
--decrypt
Specify decryption operation on an existing car stream or file. If no file is specified, stdin is used.
--digest=name
Specify name of digest algorithm. By default sha will be used.
--follow
Dereference and follow symlinks. Otherwise they are ignored.
--output=filename
Specify output file for a new archive. By default stdout is used.
--overwrite
Always overwrite existing files without prompting.
--quiet
Non-interactive and no status output.
--recursive
If argument is a directory, recursively scan directory and any subdirectory contents as arguments.
--help Outputs help screen for the user.
AUTHOR
car was written by David Sugar <dyfet@gnutelephony.org>.
REPORTING BUGS
Report bugs to bug-commoncpp@gnu.org.
COPYRIGHT
Copyright (C) 2010 David Sugar, Tycho Softworks.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
GNU uCommon January 2010 car(1)