03-25-2013
Quote:
Originally Posted by
RudiC
Wouldn't the time stamps reflect the download time? And, I'm not sure if verbosity can be increased so you can capture a complete transfer log.
Correct. Time stamps reflect the download time. So if no new files are downloaded, it will be an empty list. If 3 new files are downloaded, it will return the names of those 3 files. Exactly what I need. Files are downloaded at 3 am. The processing script runs at 7:30 am. So any new files present will have the current date.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I test for the presence of a file in Bourne Shell (3 Replies)
Discussion started by: vins
3 Replies
2. Shell Programming and Scripting
I have a huge file with 20 fileds in each record and each field is seperated by "|". If i want to get all the reocrds that have 18th or for that matter any filed as null how can i do it? Please let me know (3 Replies)
Discussion started by: dsravan
3 Replies
3. Shell Programming and Scripting
Hi,
My os is sun solaris 5.10 and Korn shell scripting.
I have a file name like CCNA_EARLY_SWP.w062309
where 062309 is date in mmddyy .This is the value date of the file.(will
I need to check continously from 5.00 - 7.00 am daily for this file .
If the file has not come at 5 am or 7am... (4 Replies)
Discussion started by: manoj39
4 Replies
4. Shell Programming and Scripting
My script is taking a file "input.in" as input for running the script. My worry is that i need to execute the script only if the file is present, if it's not don't perform the next commands.
Just to have a check at the beginning of the script : If "input.in" exists, then go on. If it's does not... (4 Replies)
Discussion started by: newpromo
4 Replies
5. Shell Programming and Scripting
hi everybody,
I need a quick help with this issue. I have configuration file in which the following set of strings must be present. I need to check it with the bash script (leading spaces are not significant). Check must be case insensitive. Can anybody help?
... any lines
<SECTION... (4 Replies)
Discussion started by: sameucho
4 Replies
6. Shell Programming and Scripting
Hi,
A script is running for multiple databases so data is also being populated for multiple DBs in a.txt file.
I need to rename this file once all the data is populated. Kindly suggest me How can I check once file is populated completely before renaming?
Thanks in advance. (3 Replies)
Discussion started by: ravigupta2u
3 Replies
7. Shell Programming and Scripting
Hi,
Following script work fine:
#!/bin/bash
FILE=$1
if ; then
echo Yay
else
echo Boo
fi
But I would like to add another condition that if FILE... (3 Replies)
Discussion started by: nrjrasaxena
3 Replies
8. Shell Programming and Scripting
Hi,
I make a sftp connection successfully.My requirement is the script shall execute only after i find a trigger file(dailyreport.OK.psv) in the remote dir. If the trigger file is not present ,the script should exit else it should continue with the rest of the scripts statements. Below code is... (13 Replies)
Discussion started by: samrat dutta
13 Replies
9. Shell Programming and Scripting
Hello,
I have file all_file.txt
at the end of process this file all_file.txt should be deleted only if there is no file present in dir /all_file/tmp/ or in it's sub directory.
can you please help me with the peace of code for this.
Thanks (2 Replies)
Discussion started by: kumar30213
2 Replies
10. Shell Programming and Scripting
Hi Experts,
I have written the below script to check the missing files based on the date in the file name from current date to in a given interval of days.
In the file names we have dates along with some name. ex:jera_sit_2017-04-25-150325.txt.
The below script is working fine if we have only... (10 Replies)
Discussion started by: nalu
10 Replies
LEARN ABOUT DEBIAN
bgoffice-dict-download
BGOFFICE-DICT-DOWNLOAD(1) User Contributed Perl Documentation BGOFFICE-DICT-DOWNLOAD(1)
NAME
bgoffice-dict-download - download dictionaries for bgoffice
SYNOPSIS
# list known dictionaries
bgoffice-dict-download --list
# download a dictionary
bgoffice-dict-download --dict bg-en_dual
# explicit output file
bgoffice-dict-download --dict bg-en_dual --output=/some/where.tar.bz2
DESCRIPTION
bgoffice-dict-download is a small program to help download bgoffice dictionaries off sourceforge.net. It browses the bgoffice project
download area and follows the download links.
The dictionary is downloaded in the current directory, unless the "--output" option is used.
OPTIONS
--list
Prints the list of the known dictionaries.
--dict dictionary name
Specifies the dictionary to be downloaded. See "--list" for the known dictionaries. This option is mandatory, unless "--list" is given.
--output file
Saves the downloaded dictionary in the given file, instead of ./<dict>.tar.bz2
COPYRIGHT AND LICENSE
Copyright: (C) 2010 Damyan Ivanov dmn@debian.org
Permission is granted to use this work, with or without modifications, provided that this notice is retained. If we meet some day, and you
think this stuff is worth it, you can buy me a beer in return.
perl v5.14.2 2010-12-16 BGOFFICE-DICT-DOWNLOAD(1)