9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
A process xyz is running and creating file1, file2, file3, .... filen. how do i know if the process has stopped and createtime of the last file (filen) is older than 5 minutes?
OS is AIX (3 Replies)
Discussion started by: malaika
3 Replies
2. Shell Programming and Scripting
Dears,
I am looking for a script which will work as a watch directory.
I ha directory which keep getting files in every 10 mins and some time delay.
I want to monitor if the directory getting the files in every 10 mins if not captured the last received file time and calculate the delay.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
3. Shell Programming and Scripting
hi,
i have a Archive directory in which files are archived or stored with date and time stamp to prevent over writing.
example:
there are 5 files
s1.txt
s2.txt
s3.txt
s4.txt
s5.txt
while moving these files to archive directory, date and time stamp is added.
of format `date... (9 Replies)
Discussion started by: Little
9 Replies
4. Shell Programming and Scripting
I have directory with shorcuts of files.
for example:
gara@yn\short\name1 ( shortcut to gara@yn\FOLDER\OPT\GARA\1.jpg )
gara@yn\short\name2 ( shortcut to gara@yn\FOLDER\OPT\GARA\11.jpg )
gara@yn\short\name3 ( shortcut to gara@yn\MARA\URSA\2.jpg )
gara@yn\short\name4 ( shortcut to... (6 Replies)
Discussion started by: gogok_bg
6 Replies
5. UNIX for Dummies Questions & Answers
Greetings,
I wasn't able to find this exact issue through a forum search, so I hope it is not a repost.
I have a directory of files that all end in ".log", and I would like to grep out something from the most recently created file in the directory without knowing the exact file name (aka I... (2 Replies)
Discussion started by: Tennesseej
2 Replies
6. Shell Programming and Scripting
Hi.,
Last modified time of the folder is changing when I view the file inside the directory. Here is the test on sample directory. I believe that ls -l commands gives the time detail w.r.t last modified time. Pl. suggest.
bash-3.2$ mkdir test
bash-3.2$ cd test
bash-3.2$ touch myfile.txt... (2 Replies)
Discussion started by: IND123
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All
i want to write a script which could copy one file at a time from one directory to another directory.
Scenerio:
Let's say i have 100 file in a dirctory,so i want to copy one file at a time to another directory with a sleep statement in between that of 30 secs.
please help me... (1 Reply)
Discussion started by: Nikhilindurkar
1 Replies
8. Programming
I have a number of files of the format filename.xfr_mmddyy_%H%M%S which i get in a specified directory daily. Now i want to search in the specified directory & delete the files which are more than 2 days old .So I use a command
find $DIR/backup/* -ctime +2 -exec rm -f {} \;
But after executing... (1 Reply)
Discussion started by: dharmesht
1 Replies
9. UNIX for Dummies Questions & Answers
I have a directory with permissions set 777, and some gumby has dumped a bunch of files and directories in there.
I don't own the culprit files or directories, but do own the containing directory - Is there some way I can delete this other user's files?
The other interesting thing is that... (5 Replies)
Discussion started by: kumachan
5 Replies
COMPARE-HISTOS(1) User Commands COMPARE-HISTOS(1)
NAME
compare-histos - generate comparison histograms
SYNOPSIS
compare-histos [options] aidafile1[:'PlotOption1=Value':'PlotOption2=Value'] [aidafile2 ...]
OPTIONS
-h, --help
show this help message and exit
-R, --rivet-refs
use Rivet reference data files (default)
--no-rivet-refs
don't use Rivet reference data files
-o OUTDIR, --outdir=OUTDIR
write data files into this directory
--hier-out
write output dat files into a directory hierarchy which matches the analysis paths
--plotinfodir=PLOTINFODIR
directory which may contain plot header information (in addition to standard Rivet search paths)
--no-rmgapbins
disable attempting to remove 'gap' bins from MC histos when they don't appear in the ref file
--refid=REF_ID
ID of reference data set (file path for non-REF data)
--linear
plot with linear scale
--logarithmic
plot with logarithmic scale (default behaviour)
--mc-errs
show vertical error bars on the MC lines
--no-ratio
disable the ratio plot
--rel-ratio
show the ratio plots scaled to the ref error
--abs-ratio
show the ratio plots with an absolute scale
--no-plottitle
don't show the plot title on the plot (useful when the plot description should only be given in a caption)
--style=STYLE
change plotting style: default|bw|talk
-c CONFIGFILES, --config=CONFIGFILES
additional plot config file(s). Settings will be included in the output configuration.
--show-single=SHOW_SINGLE
control if a plot file is made if there is only one dataset to be plotted [default=mc]. If the value is 'no', single plots are
always skipped, for 'ref' and 'mc', the plot will be written only if the single plot is a reference plot or an MC plot respectively,
and 'all' will always create single plot files. The 'ref' and 'all' values should be used with great care, as they will also write
out plot files for all reference histograms without MC traces: combined with the -R /--rivet-refs flag, this is a great way to write
out several thousand irrelevant reference data histograms!
--show-mc-only, --all
make a plot file even if there is only one dataset to be plotted and it is an MC one. Deprecated and will be removed: use
--show-single instead, which overrides this.
-m PATHPATTERNS, --match=PATHPATTERNS
Only write out histograms whose $path/$name string matches these regexes. The argument may also be a text file.
-M PATHUNPATTERNS, --unmatch=PATHUNPATTERNS
Exclude histograms whose $path/$name string matches these regexes
-q, --quiet
Suppress normal messages
-v, --verbose
Add extra debug messages
The plot options are described in the make-plots manual in the HISTOGRAM section.
AUTHOR
This manual page was written by Lifeng Sun <lifongsun@gmail.com> for the Debian system (but may be used by others).
Rivet June 2012 COMPARE-HISTOS(1)