06-18-2009
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
May be a simple question for experts here....
I need to get the list of files older than 30 days in the current folder. I tried "find", but it searches recursively in all the sub directories.
Can I restrict the recursive search and extract the files only from current directory ? (18 Replies)
Discussion started by: cxredd4
18 Replies
2. Shell Programming and Scripting
Hi Gurus,
I have a directory A, which has some 0 byte files in it.
This directory also has a subdirectory B which also has some 0 byte files in it.
The problem:
I only need to find out the names of the 0 byte files in the directory A.
I'm using the following command
find . -name *.zip... (6 Replies)
Discussion started by: ramky79
6 Replies
3. UNIX for Dummies Questions & Answers
I can't manage to list all files that are not directories from current directory. (2 Replies)
Discussion started by: beni22sof
2 Replies
4. Shell Programming and Scripting
Hi All
I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age.
I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Discussion started by: kewong007
2 Replies
5. Shell Programming and Scripting
Hello,
Using the instruction mget (within ftp) and with "Interactive mode off", I want to get all files from directory (DirAA), but not the files in sub-directories.
The files names don't follow any defined rule, so they can be just letters without (.) period
Directory structure example: ... (0 Replies)
Discussion started by: Peter321
0 Replies
6. Shell Programming and Scripting
Hello all,
I am having a hard type in figuring out how to only gather certain files in the current directory without exploring its subdirectories.
I tried:
find . -name "*.ksh" -prune
this also returns ksh files from lower subdirectories.
I also tried
find . -ls -name "*.ksh"
This also... (8 Replies)
Discussion started by: gio001
8 Replies
7. HP-UX
I am trying to compile a file called PPFormatageMUT.c in which I have included header file which are at some other location but the point is that while compiling the file, it is throwing error saying that
error : no such file or directory
source code location:... (1 Reply)
Discussion started by: ezee
1 Replies
8. Shell Programming and Scripting
Hi,
I have to find files only in the current directory...not in the sub directories.
But when I use Find command ... it searches all the files in the current directory as well as in the subdirectories. I am using AIX-UNIX machine.Please help..I tried to use maxdepth..but it is not working in AIX. (2 Replies)
Discussion started by: vsachan
2 Replies
9. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
10. Shell Programming and Scripting
I receive multiple zipped directories with files in them, so the .zip name is the name of the directory containing the files.
so i have used a simple loop to unzip all of them but when unzipped i have folders/directories, i wanted to strip these directories and remain with the actual files from... (1 Reply)
Discussion started by: buggzdiq
1 Replies
LEARN ABOUT DEBIAN
pocompendium
pocompendium(1) Translate Toolkit 1.3.0 pocompendium(1)
NAME
pocompendium - Create a PO compendium from a directory of PO files.
SYNOPSIS
pocompendium [options] output.po <-d po-directory(ies)|po-file(s)>
DESCRIPTION
Takes a directory of translated PO files and creates a single PO files called a PO compendium. This compendium can be used to review word
choice conflicts or as input during a merge using pomigrate(1).
OPTIONS
-v, --invert
creates an inverse compendium with msgid and msgstr swapped
-e, --errors
only ouput message bundles that have conflicts
-c, --correct
only ouput message bundles that are correctly translated
-i, --ignore-case
drops all strings to lowercase
-st, -tilde, --strip-accel-amp
remove all & style accelerator markers
-sa, -amp, --strip-accel-tilde
remove all ~ style accelerator markers
-su, --strip-accel-under
remove all _ style accelerator markers
EXAMPLES
Compendium creation
create a compendium with all your translations to use as input during a message merge either when migrating an existing project or starting
a new one.
Conflicting translations
use --errors to find where you have translated an English string differently. Many times this is OK but often it will pick up subtle spell-
ing mistakes or help you to migrate older translations to a newer choice of words.
Conflicting word choice
use --invert and --errors to get a compendium file that show how you have used a translated word for different English words. You might
have chosen a word that is valid for both of the English expressions but that in the context of computers would cause confusion for the
user. You can now easily identify these words and make changes in the underlying translations.
Narrowing Results
PO files treat slight changes in capitalisation, accelerator, punctuation and whitespace as different translations. In cases 2) and 3)
above it is sometimes useful to remove the inconsistencies so that you can focus on the errors in translation not on shifts in capitals. To
this end you can use the following: --ignore-case, --strip-accel-amp, --strip-accel-tilde, --strip-accel-under.
OPERATION
pocompendium makes use of the Gettext tool msgcat(1) to perform its task. It traverses the PO directories and cat's all found PO files into
the single compendium output file. It then uses msgattrib(1) to extract only certain messages, msghack to invert messages and msgfilter(1)
to convert messages to lowercase.
BUGS
There are some absolute/relative path name issues.
Translate Toolkit 1.3.0 pocompendium(1)