Hello, this is probably another really simple tasks for most of you gurus, however I am trying to make a script which takes an input, greps a specific file for that input, prints back to screen the results (which are directory names) and then be able to use the directory names to move files.... (1 Reply)
Hi all,
I have been searching online to find the answer for getting a list of files that do not match certain criteria but have been unsuccessful.
I have a directory that has many jpg files. What I need to do is get a list of the files that do not match both of the following patterns (I have... (21 Replies)
I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find )
The directory structure looks like :-
/tmp
a.log
b.log
c.log
/abcd
d.log
e.log
When I tried the following command , it movies all the log files... (8 Replies)
Hello All,
I have 2 files with around 2k records.. I am lost how to build a script to create another file with the below:confused::eek:
Match Condition1:
File1's 12th Columns data should exact match with File2's 19th Column's data
Match Condition2:
File1's 28th Column's data format is... (12 Replies)
I have a directory /home/cmccabe/nfs/exportedReports that contains multiple folders in it. The find writes the name of each folder to out.txt. A new directory is then created in a new location /home/cmccabe/Desktop/NGS/API, named with the date. What I am trying to do, unsuccessfully at the moment,... (7 Replies)
I am trying to look for $2 of file1 (skipping the header) in $2 of file2 (skipping the header) and if they match and the value in $10 is > 30 and $11 is > 49, then print the line from file1 to a output file. If no match is foung the line is not printed. Both the input and output are tab-delimited.... (3 Replies)
Hi
I'd like to add the newline:
\tuser: nobody", or "<TAB>user: nobody
to all files named:
docker-compose.ymlin subfolders of pwd with names beginning with 10-20.
Within these files, I'd like to find the line (there'll only be one) containing:
command: celery workerNOTE: As far as... (2 Replies)
Trying to use awk to match the contents of each line in file1 with $5 in file2. Both files are tab-delimited and there may be a space or special character in the name being matched in file2, for example in file1 the name is BRCA1 but in file2 the name is BRCA 1 or in file1 name is BCR but in file2... (6 Replies)
I am trying to mv each of the .vcf files in the variants folder to the folder in /home/cmccabe/f2 that the .vcf id is found in file. $2 in file will always have the id of a .vcf in the variants folder. The line in blue staring with R_2019 in file up to the -v5.6 will always be an exact match to a... (4 Replies)
Hello,
I'm a first time poster looking for help in scripting a task in my daily routine. I am new in unix but i am attracted to its use as a mac user.
Bear with me...
I have several files (20) that I manually drag via the mouse into several named directories over a network. I've used rsync... (14 Replies)
Discussion started by: SonnyClark
14 Replies
LEARN ABOUT DEBIAN
pomigrate2
pomigrate2(1) Translate Toolkit 1.3.0 pomigrate2(1)NAME
pomigrate2 - Migrates PO files from an old version using new POT files.
SYNOPSIS
pomigrate [options] from to new-templates
Where from is a directory of existing PO files, to is the directory where the migrated PO files will be stored, and new-templates is the
directory that contains the PO Template files.
DESCRIPTION
pomigrate2 aims to move an existing translation to a new version based on updated PO Template files automatically without user interven-
tion. Therefore it is ideal for when you are migrating many languages or migrating from related but divergent products eg Mozilla to Fire-
fox.
OPTIONS -F, --use-fuzzy-matching
use fuzzy algorithms when merging to attempt to match strings
-C, --use-compendium
create and use a compendium built from the migrating files
-C, --use-compendium=some-compendium.po
use an external compendium during the migration
--no-wrap
do not wrap long lines
--locale
set locale for newly born files
-q, --quiet
suppress most output
-p, --pot2po
use pot2po(1) instead of msgmerge(1) to migrate (you cannot use compendia)
OPERATION
pomigrate2 makes use of the Gettext tools msgmerge or Translate Toolkits pot2po to perform its merging tasks.
It firstly finds all files with the same name and location in the from directory as in the new-template directory and copies these to the
to directory. If there is no file in the from directory to match one needed by the new-template directory then it will msgcat(1) all files
in the from directory with the same name and copy them to the correct destination in the to directory. If all of that fails then msginit(1)
is used to initialise any missing PO files.
Lastly all the files in <to> are merged using msgmerge(1) or pot2po(1). This process updates the files to match the layout and messages in
new-templates. Optionally, by using --use-compendium, a compendium of all the translations in from can be created to be used in the final
merge process.
BUGS
None known
Translate Toolkit 1.3.0 pomigrate2(1)