Thanks DGPickett. Am notsure what change needs to be done for the above script. I did tried them by changing head1 to oldfile path and head2 newfile path.
Could you please correct me.
After running above script, i get this error
Hello Guys, Greetings to All.
I am stuck in my work here today while trying to comapre paragraphs between two files, I need your help on urgent basis, without your inputs I can not proceed. Kindly find some time to answer my question, I'll be grateful to you for ever. My detailed issue is as... (10 Replies)
hi guys
does anyone know how to display the file paths of the files stored within a directory at the command terminal?
e.g. if i have a directory called "home", how do i display the file paths of the files inside the directory?
cheers (2 Replies)
Hi,
I am using the HP machine at the moment and by default I have been setup with the kron shell i.e. my home profile is .kshrc
I would like to access a program anywhere on the system so I have added a path and created an environment variable like this:
export myvarpath=/a/abc/def/ghij... (3 Replies)
You have two files to compare by searching keyword from one file into another file
File A
23 >pp_ANSWER
24 >aa hello
25 >jau head wear
66 >jss oops
872 >aqq olps ploww oww sss
722 >GG_KILLER
..... large files
File B
Beta done
KILLER
John Mayor
calix meyers
... (5 Replies)
Hi
May i ask if someone know a package that will search a directory recursively and compare determine duplicate files according to each filename, date modified or any attributes that will determine its duplicity
If none where should i start or what are those command in shell scripting that... (11 Replies)
Hello,
I have a flat file with a list of files with the path to the file and I am attempting to calculate the filesize for each one; however xargs isn't playing nicely and I am sure there is probably a better way of doing this.
What I envisioned is this:
cat filename|xargs -i ls -l {} |awk... (4 Replies)
I need to update about 2400 files in a directory subtree, with a new directory path inside the files
I need to change this occurence in all files: /d2/R12AB/VIS/apps/tech_st/10.1.2
with this: /u01/PROD/apps/apps_st/10.1.3
I know how to change single words using "find . -type f -print0 |... (6 Replies)
Dear All,
I have many sub-folders but each of them have a file with same name but different data.
I want to either move or copy them into a new folder but they need to have the path of where they are coming as part of their name...
I have managed to find the files but dont know how to change... (2 Replies)
All,
i have a file text.log:
cover6
cover3
cover2
cover4
other file is abc.log as :
0
0
1
0
Then I have a excel file result.xls that contains:
Name Path Pass
cover2
cover3
cover6
cover4 (1 Reply)
I have 2 txt files, 1.txt and 2.txt which contain the paths to files that need to be linked.
Example 1.txt:
/root/001/folder2/image4.nii.gz
/root/002/folder2/image4.nii.gz
Example 2.txt:
/root/001/folder2/image5.nii.gz
/root/002/folder2/image5.nii.gz
Each line represents images from... (7 Replies)
Discussion started by: LeftoverStew
7 Replies
LEARN ABOUT DEBIAN
rredtool
RREDTOOL(1) REPREPRO RREDTOOL(1)NAME
rredtool - merge or apply a very restricted subset of ed patches
SYNOPSIS
rredtool --help
rredtool [ options ] --merge patches...
rredtool [ options ] --patch file-to-patch patches...
rredtool directory newfile oldfile mode
DESCRIPTION
rredtool is a tool to handle a subset of ed patches in a safe way. It is especially targeted at ed patches as used in Packages.diff and
Sources.diff. Is also has a mode supposed to be called from reprepro as Index Hook to generate and update a Packages.diff/Index file.
MODI
One of the following has to be given, so that rredtool know that to do.
--version
Print the version of this tool (or rather the version of reprepro which it is coming with).
--help Print a short overview of the modi.
--patch
The first argument of rredtool is the file to patch, the other arguments are ed patches to apply on this one.
--merge
The arguments are treated as ed patches, which are merged into a single one.
--reprepro-hook (or no other mode flag)
Act as reprepro index hook to manage a Packages.diff/index file. That means it expects to get exactly 4 arguments and writes the
names of files to place into filedescriptor 3.
If neither --patch nor --merge is given, this mode is used, so you can just put
DebIndices: Packages Release . .gz /usr/bin/rredtool
into reprepro's conf/distributions file to have a Packages.diff directory generated. (Note that you have to generate an uncom-
pressed file (the single dot). You will need to have patch, gzip and gunzip available in your path.)
OPTIONS --debug
Print intermediate results or other details that might be interesting when trying to track down bugs in rredtool but not intresting
otherwise.
--max-patch-count=count
When generating a Packages.diff/Index file, put at most count patches in it (not counting possible apt workaround patches).
-o|--output
Not yet implemented.
ENVIRONMENT
TMPDIR, TEMPDIR
temporary files are created in $TEMPDIR if set, otherwise in $TMPDIR if set, otherwise in /tmp/.
REPORTING BUGS
Report bugs or wishlist requests the Debian BTS (e.g. by using reportbug reperepro) or directly to <brlink@debian.org>.
COPYRIGHT
Copyright (C) 2009 Bernhard R. Link
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.
reprepro 2009-11-12 RREDTOOL(1)