Thanks Chubler. your solution did work as expected but am trying change the ouput file name as *_result.txt. I tried to update this line like this but didn't work
Could you please tell me what am doing is correct in above stmt and if possible can you tell me how to acrchive this generated file (input/output) to someother path. so that if we run this script again it should genreated the new set of input/output file then it should generate new compare result file by comparing pervious result and new result file.
like :
1. generate input/result file (already done by above script)
2. If we run the above script again, it should check if there is any files present in output folder if yes, then move this genereated files to someother location with datetime stamp in the filename(archive) . if no files found then just generate files.
3. from step 2, if new set of results files generated (if files archived), then should compare archived result file to newly genereated result file.
ie, something like this
please do help me on this.
Hello-
I need to copy a file into multiple directories, and each directory's sub-directories (of which there are 5)
Currently, the parent directory is set up like this:
dir1
sub-dir1
sub-dir2
sub-dir3
sub-dir4
sub-dir5
dir2
sub-dir1
sub-dir2
sub-dir3
... (1 Reply)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Dear all,
I have a database with thousands of files with the structure of name is:
Filename_hour_year.abc
Filename_hour_year_1.abc
..............
So what I need is how to write a script that all file with contain the character "_1" will copy to "_2"
For example: file name:... (7 Replies)
Hi guys,
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also... (1 Reply)
Hi,
I want a script shell to automate modifying httpd.conf file for
several instances of apache, save httpd.file before changing it, after
modifying it and then restart apache.
- Replace ServerRoot "xxxx" by ServerRoot "yyyy" of all directories :
"... (4 Replies)
Hi,
Seems like I need help again with a problem:
I want to delete all files from my lets say "Music" Directory inkluding all of the subfolders
except for .mp3 and .MP3 files.
I tried it with globalignoring mp3 files, finding and deleting all other files, which
resulted in all files... (3 Replies)
hi all
I want a script that will use ftp to copy folder and sub folders from source server to current server. if i use -r switch then it just copies folders for 5 level. (1 Reply)
Hi,
I am writing a script to copy certain file name in txt file .
It is working fine if I provide a single directory name (for example "/eos/uscms/store/user/pooja04//analysis2012/525/data/doubleele/2012/datav1/" ) where those specific files are present ending with *root .
But I want to modify... (14 Replies)
i have directory dgf
in the dgf( some other Sub-dir are there)
00 01 02 03 04
in all the Sub directory there is a SG.csv ..
i want the scripts should run one by one Sub-dir and print the result for that particular Sub-dir ..then go to next Sub-Dir and print the result.......
please... (6 Replies)
Hi all,
I'm trying to write a script to recursively cd into my Git projects and pull them, and will later expand it to build my projects as well.
I'm having a bit of trouble with my current script, as I want to supply a command line argument to tell it which branch to check out. I can hard... (2 Replies)
Discussion started by: Cows
2 Replies
LEARN ABOUT DEBIAN
texlinks
texlinks(8) teTeX texlinks(8)NAME
texlinks - maintain symbolic links from format to engine
SYNOPSIS
texlinks [ OPTIONS... ] DIRECTORIES...
DESCRIPTION
texlinks is used to create or recreate symbolic links from formats to engines according to the information in fmtutil.cnf or a file speci-
fied with --cnffile.
DIRECTORIES is an optional list of directories in which to operate. If no directories are specified the list of directories depends on the
--multiplatform option.
OPTIONS --cnffile FILE or -f FILE
use file as configuration file (default: fmtutil.cnf)
--help or -h
show some help text
--multiplatform or -m
operate in all platform-specific directories (default: operate only in the directory for this platform)
--silent or -s
silently skip over existing scripts/binaries instead of printing a warning
--unlink or -u
Unlink previously created symlinks
--verbose or -v
+set verbose mode on (default: off)
FILES
fmtutil.cnf
default configuration file
SEE ALSO fmtutil(1), fmtutil.cnf(5)
Web page: <http://tug.org/teTeX/>
BUGS
None known, but report any bugs found to <tex-k@tug.org> (mailing list).
AUTHOR
texlinks was written by Thomas Esser <te@dbs.uni-hannover.de> in 1999. texlinks has been released into the public domain.
This manual page was written by C.M. Connelly <c@eskimo.com>, for the Debian GNU/Linux system. It may be used by other distributions with-
out contacting the author. Any mistakes or omissions in the manual page are my fault; inquiries about or corrections to this manual page
should be directed to me (and not to the primary author).
teTeX November 2007 texlinks(8)