04-20-2011
Hi Ahamed
If I understand correctly you loop through the files and use sed replace to replace CRDT with crdt_lon on each file before it is actually copied correct?
I will give it a try and let you know. Thanks to everyone who replied
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
what command would i wrote to copy files from $folder1 to $folder2 ???? (1 Reply)
Discussion started by: perleo
1 Replies
2. Linux
sir
can any body tell me how i can copy files like
copy c:\abc\pqr\mr.txt c:\windows\my documents\this.txt
i need command in linux like this
really i am a new in linux that is why simple questions
alson can any body explain me how i get current directory tree or path
in windows... (2 Replies)
Discussion started by: sadiquep
2 Replies
3. Shell Programming and Scripting
i need to copy some files from a directory and move the copy files to some destination with the extension .dat
Can any one help on this (5 Replies)
Discussion started by: ranga27
5 Replies
4. Shell Programming and Scripting
Hi,
I have the below command running in unix
find /dev/data/ -name "*.*" -exec cp -R {} "/isdev/data//history" \;
This command will copy the files from /dev/data/ to /isdev/data//history and will not throw even if there is no files in source.
But if i modify the path from... (6 Replies)
Discussion started by: redd
6 Replies
5. UNIX for Dummies Questions & Answers
scp /path/to/file <username>@<Other Server>:/path/to/newfile
If my file is named "Bob" and it is in my user "Accountant" and in a directory named "Invoice_folder"... How would this look in the above?
I can't seem to understand the logic of the above scp.
MOVING FILE FROM LOCATION #1:
/path... (1 Reply)
Discussion started by: woody62
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys,
I am experiencing a problem right now while copying a directory as well as its subdirectories to my target directory. I know this is a very simple UNIX command using cp -R source directory target directory. but unfortunatley while doing this an error comes up on the command line saying... (2 Replies)
Discussion started by: Knowledge_Xfer
2 Replies
7. UNIX for Dummies Questions & Answers
How can we copy a command string from a previous command line and paste it into the cursor position on the current command line? I know that ^c will not work as the shell will interpret as an interrupt signal.
Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies
8. Shell Programming and Scripting
I entered the following command
find . -type f \( -newer startdate -a ! -newer enddate \) -exec cp tmp {} \;
I got the following error:
cp: 0653-436 tmp is a directory.
Specify -r or -R to copy.
What's happening here? (2 Replies)
Discussion started by: bbbngowc
2 Replies
9. Shell Programming and Scripting
Hi, im taking an entry Unix class, and as part of my lab assignment I have to copy all files in the /home/david/lab3 directory that have the file extension .save to your lab3/temp directory. I'm having trouble getting the grep to do anything worth while
I've been trying to do:
cp... (6 Replies)
Discussion started by: Critical jeff
6 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
I am trying to take a backup of file before overwriting it with cp command, I am using the command cp -b.
-rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 a
-rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 b
cp -b a b
-rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 a
-rw-rw-r-- 1... (1 Reply)
Discussion started by: Raj999
1 Replies
LEARN ABOUT DEBIAN
git-replace
GIT-REPLACE(1) Git Manual GIT-REPLACE(1)
NAME
git-replace - Create, list, delete refs to replace objects
SYNOPSIS
git replace [-f] <object> <replacement>
git replace -d <object>...
git replace -l [<pattern>]
DESCRIPTION
Adds a replace reference in .git/refs/replace/
The name of the replace reference is the SHA1 of the object that is replaced. The content of the replace reference is the SHA1 of the
replacement object.
Unless -f is given, the replace reference must not yet exist in .git/refs/replace/ directory.
Replacement references will be used by default by all git commands except those doing reachability traversal (prune, pack transfer and
fsck).
It is possible to disable use of replacement references for any command using the --no-replace-objects option just after git.
For example if commit foo has been replaced by commit bar:
$ git --no-replace-objects cat-file commit foo
shows information about commit foo, while:
$ git cat-file commit foo
shows information about commit bar.
The GIT_NO_REPLACE_OBJECTS environment variable can be set to achieve the same effect as the --no-replace-objects option.
OPTIONS
-f
If an existing replace ref for the same object exists, it will be overwritten (instead of failing).
-d
Delete existing replace refs for the given objects.
-l <pattern>
List replace refs for objects that match the given pattern (or all if no pattern is given). Typing "git replace" without arguments,
also lists all replace refs.
BUGS
Comparing blobs or trees that have been replaced with those that replace them will not work properly. And using git reset --hard to go back
to a replaced commit will move the branch to the replacement commit instead of the replaced commit.
There may be other problems when using git rev-list related to pending objects. And of course things may break if an object of one type is
replaced by an object of another type (for example a blob replaced by a commit).
SEE ALSO
git-tag(1) git-branch(1) git(1)
GIT
Part of the git(1) suite
Git 1.7.10.4 11/24/2012 GIT-REPLACE(1)