11-01-2012
List the file names that differ
Hello,
I have two directories - prev and current . They both have same multiple subdirectories and files. Now the current directory can have some updated files and some new files added that is not in prev. I want to find the list of file names that differ. I am doing this because i can not checked in my files in version control SVN yet.
Thanks - jak
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a list of file names generated from a find command.
The list does not show complete file information.
I would like to do this:
generate the list of file names
pass each file name generated to ls -l command
what is the best way to do this without a script?
I have tried... (2 Replies)
Discussion started by: GMMike
2 Replies
2. AIX
Hi,
I am trying to find the content of file using grep and find command and list only the file names
but i am getting entire file list of files in the directory
find . -exec grep "test" {} \; -ls
Can anyone of you correct this (2 Replies)
Discussion started by: madhu_Jagarapu
2 Replies
3. UNIX for Dummies Questions & Answers
I have a large directory of web pages. I am doing a search through the web pages using grep and would like to get a list of unique file names of search results. The following command works fine to give me a list of file names where term appears:
grep -l term *.html
However, since these are... (3 Replies)
Discussion started by: rjulich
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Gurus,
I need to list only those files which are most recent and the latest log file.
For example if I have the following file list:
JOB001.LOG_00uv02_00006 - Jul 7 12:16
JOB001.LOG_00vi0t_00001 - Aug 4 21:58
JOB001.LOG_00vi0t_00002 - Aug 5 09:15
JOB001.LOG_00vi0t_00003 - Aug 5... (6 Replies)
Discussion started by: shash
6 Replies
5. Shell Programming and Scripting
I have the following list of file names stored in $fnames, so that if I do
foreach f ($fnames)
echo "$f"
end
I will get
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run1
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run2
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run3... (3 Replies)
Discussion started by: kristinu
3 Replies
6. Solaris
When I look at format I can see the following info:
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0
Can anyone tell me... (2 Replies)
Discussion started by: James_UK
2 Replies
7. Shell Programming and Scripting
Hi Experts,
Here is my scenario:
Am maintaining a file which has list of logs with complete path and file names like bleow
a/b/c/Daily/file1_20111012.log
d/e/f/Monthly/file1_20111001.log
g/h/Daily/file1_20110120.log
i/Daily/file1_20110220.log
How to copy the file names frm the list... (7 Replies)
Discussion started by: laxm
7 Replies
8. Shell Programming and Scripting
Hi All,
I have a .txt file with the list of filenames as given below.
/dev_data/dev3/ctl/20120622_Employee.txt
/dev_data/dev3/ctl/20120623_Employee.txt
/dev_data/dev3/ctl/20120624_Employee.txt
I want to read this file & write the dates alone from the filenames into a .done file.
... (6 Replies)
Discussion started by: dsfreddie
6 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
Can any one help me to list out the directory names which contain the specified file.
See for example
File name : file.201307014.LKT
Have the directory structure as below.
/app/work/data/INDIA/file.201307014.LKT
/app/work/data/AMERICA/file.201307014.KTP... (5 Replies)
Discussion started by: Balasankar
5 Replies
10. Shell Programming and Scripting
Below is my script code.which shows the environment name and then fetch the file from the ftp server but I am facing one issue.The script should be run in both way.We can pass the arguments with script and select the environment name then file name.Here the issue is I am not able to list the files... (1 Reply)
Discussion started by: anuragpgtgerman
1 Replies
LEARN ABOUT DEBIAN
svn::web::i18n
SVN::Web::I18N(3pm) User Contributed Perl Documentation SVN::Web::I18N(3pm)
NAME
SVN::Web::I18N - SVN::Web internationalisation class
SYNOPSIS
use SVN::Web::I18N; # Nothing exported
# Add a directory that contains .po and/or .mo files
SVN::Web::I18N::add_directory('/path/to/directory');
# Specify the current language
SVN::Web::I18N::loc_lang('en');
# Get a translated string
my $xlated = SVN::Web::I18N::loc('(a string to translate)');
DESCRIPTION
SVN::Web::I18N provides the interface through which SVN::Web is internationalised, and how different localisations are implemented.
SUBROUTINES
SVN::Web::I18N::add_directory($path)
Adds a new directory to the list of directories in which localisations will be found. Any *.po and *.mo files in this directory will
automatically be scanned for localisations, and added to the language key given by the file's basename.
In case where two different directories both contain a localisation file that defines the same localisation key for the same language, the
localisation key from the most recently added directory will be used.
SVN::Web::I18N::loc_lang($lang)
Selects the language to use for subsequent calls to "loc()". The $lang parameter should be a valid language name -- i.e., there must exist
at least one $lang.po file in one of the directories used in a call to "SVN::Web::I18N::add_directory()".
SVN::Web::I18N::loc($text)
and
SVN::Web::I18N::loc($text, $param1, ...)
Returns the localised form of $text according to the localisation selected by the most recent call to "loc_lang()".
If the localisation expects parameters to fill in the localisation result they should be passed as the second and subsequent arguments.
If $text does not have a defined localised form it is returned with the parameters interpolated in to it.
SEE ALSO
Locale::Maketext, Locale::Maketext::Lexicon, SVN::Web
AUTHORS
Nik Clayton "<nik@FreeBSD.org>"
COPYRIGHT
Copyright 2006-2007 by Nik Clayton "<nik@FreeBSD.org>".
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.14.2 2012-06-11 SVN::Web::I18N(3pm)