01-21-2010
Actually we are working on backup things that why it is look like different.
Anyway i am looking some shell / perl script for same.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies
2. Shell Programming and Scripting
Hi,
On the server, we have app log files in this location /app/logs/error.log
On the same server, in a real time, we would like to replicate that into /var/ directory.
if someone has already done this, please share the script.
Thanks in advance. (4 Replies)
Discussion started by: lookinginfo
4 Replies
3. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
4. UNIX for Dummies Questions & Answers
:EDIT:
I think my post name should have been labeled: how to copy files and record original file location. not "retain".
Hello, this is my first post! I searched the forums a lot before posting, but was unable to answer my question.
Here's my problem:
There are several hundred text files... (4 Replies)
Discussion started by: willie8605
4 Replies
5. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
6. Shell Programming and Scripting
Hi Gurus,
I am a newbie to shell scripting and I am facing a problem right now.I have to automate the copy of files based on a priority.The scenario is as below:
1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so... (4 Replies)
Discussion started by: vikramgk9
4 Replies
7. Shell Programming and Scripting
I have below files in one location /test/files and also for each dates there are similar files
A20130924.0000-0005_file1
A20130924.0000-0005_file2
A20130924.0005-0010_file1
A20130924.0005-0010_file2
.
.
.
A20130924.2355-0000_file1
A20130924.2355-0000_file2
If i execute the script like... (4 Replies)
Discussion started by: Saidul
4 Replies
8. Shell Programming and Scripting
Hello Experts,
I need to copy files from one location to another using xargs.
Tried something like this (In Ubuntu & Solaris ).
mkdir -p 1234;
find /home/emd/Desktop/n007/M007/ -type f -name "A2014*" | xargs -0 cp -r {} /home/emd/Desktop/1234
But every time i run this, a weird error... (6 Replies)
Discussion started by: Saidul
6 Replies
9. Shell Programming and Scripting
Hi All,
i'm trying to copy the 1.txt files (sample files) in to different path location using the below command.
But it is not copying the files , when i tried for single location able to copy the file.
can any one please assist here.
Please find the below path :-
/ckr_mkr1/licencekey... (2 Replies)
Discussion started by: venkat918
2 Replies
10. UNIX for Beginners Questions & Answers
Hello everyone, Im super new to coding but increasingly in need of it at work. Im have task stacked because of this problems, that I cannot figure out how to solve looking on the internet after trying many many things that looked similar to me.
I have multiple data files of the form (see below).... (2 Replies)
Discussion started by: Xfiles_fan
2 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)