I have two files "f1" and "f2" having 2 fields in each, a) file size and b) file name. The data are almost same in both the files except for few and new additional lines. Now, I have to find out and print the output as, the difference in the "file size" for the file names present in the f1 and f2 and also, fields that are not present in both the files.
Note: the number of lines in the files may differ. And the file sizes are in KB.
For eg: suppose if the files are
Output should be:
Last edited by royalibrahim; 02-21-2011 at 08:07 AM..
Hi, Im trying to take a database backup. one of the files is 26 GB. I am using cp -pr to create a backup copy of the database. after the copying is complete, if i do du -hrs on the folders i saw a difference of 2GB.
The weird fact is that the BACKUP folder was 2 GB more than the original one!
... (1 Reply)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
I have a file which gets appended with records daily..for eg. 1st day of the month i get 9 records ,2nd day 9 records .....till the last day in the month...the no of records may vary...i store the previous days file in a variable oldfile=PATH/previousdaysfile....i store the current days file in a... (6 Replies)
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
I have two files as below
File1:
a
b
c
d
File2:
a
b
When i find the difference the output would be c&d..
How can i get my requirement...pls help...
Many thanks in advance (10 Replies)
Hi Experts,
My requirement is to compare the second field/column in two files, if the second column is same in both the files then compare the first field. If the first is not matching then print the first and second fields of both the files.
first file (a .txt)
< 1210018971FF0000,... (6 Replies)
Hi!
I want to find duplicate files (criteria: file size) in my download folder.
I try it like this:
find /Users/frodo/Downloads \! -type d -exec du {} \; | sort > /Users/frodo/Desktop/duplicates_1.txt;
cut -f 1 /Users/frodo/Desktop/duplicates_1.txt | uniq -d | grep -hif -... (9 Replies)
I have 2 files as follows.
file1.txt
<cell>123</cell>
<cell>345</cell>
file2.txt
<cell>123</cell>
<cell>456</cell>
out out should be
output.txt
<cell>456></cell>
How do we achieve this> The difference betwenn the two files should be wirtten to the output file..
... (2 Replies)
Hi,
The requirement is to compare two files that has single column of records each. Comparison is to happen on a whole and not line by line.
File1.txt
314589929
315611087
304924413
315989094
301171509
302984393
315609549
314593632
File2.txt
315611087
304924413
315989094 (2 Replies)
Hi All,
I want to find difference between two files and output only lines which are not present in second file .I am using awk and I am getting only the first difference but I want to get all the lines which are not present in file2 .Below is the code I am using . Please help to get the desired... (7 Replies)
Discussion started by: srinivasrao
7 Replies
LEARN ABOUT REDHAT
intltool-merge
INTLTOOL-MERGE(8) System Manager's Manual INTLTOOL-MERGE(8)NAME
intltool-merge - merge translated strings into various file types such as XML
SYNOPSIS
intltool-merge [ -v|--version ] [ -h|--help ] [ -q|--quiet ] [ -d|--desktop-style ] [ -k|--keys-style ] [ -o|--oaf-style ] [ -x|--xml-style
] [ -u|--utf8 ] [ -p|--pass-through ] PO_DIRECTORY FILENAME OUTPUT_FILE
DESCRIPTION
Merge translated strings in po files in PO_DIRECTORY with the original application file FILENAME, and output the file OUTPUT_FILE contain-
ing both the original and the localized strings.
Afterwards the application xml file will contain repeated xml-nodes where each one contains one of all translations and a xml:lang
attribute.
OPTIONS -v, --version
Show version information.
-h, --help
Show usage and basic help information.
-q, --quiet
Be quiet while running.
-d, --desktop-style
Merge files in desktop style, which is similar to the Windows .ini file format.
-k, --keys-style
Merge files in the keys style, which is used for metadata.
-x, --oaf-style
Merge files in the oaf style.
-x, --xml-style
Merge files in the XML style, both as attributes and as raw pcdata.
-u, --utf8
Convert all strings to UTF-8 before merging.
-p, --pass-through
Use strings as found in .po files, without conversion (STRONGLY unrecommended with -x).
REPORTING BUGS
Report bugs to http://bugzilla.gnome.org or by sending email to xml-i18n-tools@gnome.org.
AUTHOR
Darin Adler <darin@bentspoon.com>
Kenneth Christiansen <kenneth@gnu.org>
Maciej Stachowiak <mjs@eazel.com>
SEE ALSO intltoolize(8), xml-18n-prepare(8), intltool-extract(8), intltool-update(8)intltool February 14, 2002 INTLTOOL-MERGE(8)