01-26-2016
One reason for failure might be the space in the file names which will make the for loop fail.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Can any one tell the command to list all the files that are created as of today from all the directories?
The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path:)
Thank you in advance.:)
Regards,... (4 Replies)
Discussion started by: meetusha.b
4 Replies
2. Shell Programming and Scripting
hi all,
here is the description to my problem.
input parameter: $date1
based on the date i need to select three files starting with audit.log* based on its modified date, a date before, a date after(if its exists). We need to compare the input date to modified date of the file. And then... (3 Replies)
Discussion started by: ashrocks
3 Replies
3. Emergency UNIX and Linux Support
Hi All,
I am trying to to move files from a directory to another which falls from Current day - 7 days. The files are in zipped format with dates appended on it.
Can you pls help me as this came as a immediate change before the production Release planned next week.
Pls let me know if... (11 Replies)
Discussion started by: dsfreddie
11 Replies
4. Shell Programming and Scripting
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Discussion started by: dsfreddie
3 Replies
5. Shell Programming and Scripting
I have a number of files in a directory that can be grouped with something like "ls | grep SH2". I would like to move each file in this list to another directory.
Thanks (4 Replies)
Discussion started by: kg6iia
4 Replies
6. Shell Programming and Scripting
I have have 6 empty directory below. I would like write bash scipt if any files less "1000000000" bytes then move to "/export/home/mytmp/final" folder first and any files greater than "1000000000" bytes then move to final1, final2, final3, final4, final4, final5 and that depend see how many files,... (6 Replies)
Discussion started by: dotran
6 Replies
7. UNIX for Dummies Questions & Answers
Greetings. I know enough Unix to be dangerous (!) and know that there is a clever way to do the following and it will save me about a day of agony (this time) and I will use it forever after! (many days of agony saved in the future)!
Basically
I need to find any image files (JPGs, PSDs etc)... (5 Replies)
Discussion started by: Clyde Lovett
5 Replies
8. Shell Programming and Scripting
I have this situation
/u03/app/banjobs> ls -ltr icg*
82 Jun 12 10:37 iicgorldi_2419186.log
56810484 Jun 17 10:35 icgorldi_2421592.xml
2859 Jun 17 10:35 icgorldi_2421592.lis
- 125 Jun 17 10:35 icgorldi_2421592.log
82 Jun 12 10:37 iicgorldi_2419187.log
... (8 Replies)
Discussion started by: Bernardo Jarami
8 Replies
9. Shell Programming and Scripting
Hi All,
We have main directory called "head"
under this we have several sub directories and under these directories we have sub directories.
My requirement is I have to find the SQL files which are having the string "procedure" under "head" directory and sub directories as well.
And create... (14 Replies)
Discussion started by: ROCK_PLSQL
14 Replies
10. Shell Programming and Scripting
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
Discussion started by: digioleg54
9 Replies
LEARN ABOUT DEBIAN
fl-run-test
FL-RUN-TEST(1) Debian manual FL-RUN-TEST(1)
NAME
fl-run-test - runs a funkload test file
SYNOPSIS
fl-run-test [ options ] file [ class.method | class | suite ]
DESCRIPTION
A FunkLoad test can be used like a standard unittest using a unittest.main() and a 'python MyFile.py'.
Note that fl-run-test can be used to launch normal unittest.TestCase and (if you use python2.4) doctest in a plain text file or embedded in
a python docstring. The --debug option makes doctests verbose.
OPTIONS
--version
show program's version number and exit
--help, -h
show this help message and exit
--quiet, -q
Minimal output.
--verbose, -v
Verbose output.
--debug, -d
FunkLoad and doctest debug output.
--debug-level=DEBUG_LEVEL
Debug level 3 is more verbose.
--url=MAIN_URL, -uMAIN_URL
Base URL to bench without ending '/'.
--sleep-time-min=FTEST_SLEEP_TIME_MIN, -mFTEST_SLEEP_TIME_MIN
Minumum sleep time between request.
--sleep-time-max=FTEST_SLEEP_TIME_MAX, -MFTEST_SLEEP_TIME_MAX
Maximum sleep time between request.
--dump-directory=DUMP_DIR
Directory to dump html pages.
--firefox-view, -V
Real time view using firefox, you must have a running instance of firefox in the same host.
--no-color
Monochrome output.
--loop-on-pages=LOOP_STEPS, -lLOOP_STEPS
Loop as fast as possible without concurrency on pages expect a page number or a slice like 3:5. Output some statistics.
--loop-number=LOOP_NUMBER, -nLOOP_NUMBER
Number of loop.
--accept-invalid-links
Do not fail if css/image links are not reachable.
--simple-fetch
Don't load additional links like css or images when fetching an html page.
--stop-on-fail
Stop tests on first failure or error.
--regex=REGEX, -eREGEX
The test names must match the regex.
--list Just list the test names.
--pause
Pause between request, press ENTER to continue.
SEE ALSO
fl-build-report(1), fl-credential-ctl(1), fl-install-demo(1), fl-monitor-ctl(1), fl-record(1), fl-run-bench(1).
AUTHOR
Funkload was written by Benoit Delbosc.
This manual page was written by Jose Parrella <bureado@debian.org>, for the Debian project (but may be used by others).
Debian Project 26 March 2009 FL-RUN-TEST(1)