Sponsored Content
Full Discussion: File check script
Top Forums Shell Programming and Scripting File check script Post 302368081 by unclefab on Wednesday 4th of November 2009 05:43:45 AM
Old 11-04-2009
Great,

thanks,

Fab
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script to check for a file, check for 2hrs. then quit

I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit. Logically, I'm looking for the best way to approach this Thanks for any assistance in advance. Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies

2. Shell Programming and Scripting

Have a shell script check for a file to exist before processing another file

I have a shell script that runs all the time looking for a certain type of file and then it processes the file through a series of other scripts. The script is watching a directory that has files uploaded to it via SFTP. It already checks the size of the file to make sure that it is not still... (3 Replies)
Discussion started by: heprox
3 Replies

3. Shell Programming and Scripting

Check File Exists and compare to previous day file script

We have data files that are ftp'd every morning to a SUN server. The file names are exactly the same except for that each has the date included in its name. I have to write script to do 2 things: STEP 1) Verify that the file arrived in morning. STEP 2) Compare the file size of the current... (3 Replies)
Discussion started by: rbknisely
3 Replies

4. UNIX for Dummies Questions & Answers

Basic Script to check for a file

Hello, Little new to unix scripting. I need to create a script that will do the following. Check in a directory for a file that will be present between 19:00 and 23:00. If the file is present a e-mail then needs to be sent to myself confirming. I did write something basic...as below... ... (3 Replies)
Discussion started by: Thundercat1
3 Replies

5. Shell Programming and Scripting

Script check for file, alert if not there, and continue checking until file arrives

All, Is there a way to keep checking for a file over and over again in the same script for an interval of time? Ie If { mail -user continue checking until file arrives file arrives tasks exit I don't want the script to run each time and email the user each time a file... (4 Replies)
Discussion started by: markdjones82
4 Replies

6. Shell Programming and Scripting

Script to check for the file existence, if file exists it should echo the no of modified days

Hi, I am looking for a shell script with the following. 1. It should check whether a particular file exists in a location #!/bin/sh if ; then echo "xxx.txt File Exists" else echo "File Not Found" fi 2. If file exists, it should check for the modified date and run a command... (2 Replies)
Discussion started by: karthikeyan_mac
2 Replies

7. Shell Programming and Scripting

check file script

hi, i have a small file with 4 rows that looks like this: any_error_today= any_message_today= any_other_thing= any_other _thing= I want to write a script that checks if after any = there is no data(is empty), then everything is OK. If after = there is data written, for example... (6 Replies)
Discussion started by: arrals_vl
6 Replies

8. Shell Programming and Scripting

Shell script to read file and check file type

Hi, I have a file with few values in it. I need script help to read file line by line and check: 1/if it's a file (with extension eg .java .css .jar etc ) or 2/if it's a file without extension and treat it as a directory and then check if the directory exists in working copy else create one... (6 Replies)
Discussion started by: iaav
6 Replies

9. Shell Programming and Scripting

Script to check if file is placed

Hello, I am currently looking how to develop a script to monitor files placed in a particular folder. This is not actually a big deal as I usually do some perl and shell scripting, but my problem goes here: First, the folder names in which these files are being placed uses a naming convention of... (1 Reply)
Discussion started by: Wizard_1979
1 Replies

10. Shell Programming and Scripting

Script fro file check and load the trail file

Hi, Im going to use shell script for load the data into DB. First i need to read the trail file(csv file has two columns with comma separated ) like file name trail1024(last 4 digitsMMDD). In this trail file 27 entries will have like below,I need to read first csv file name and get the 4... (1 Reply)
Discussion started by: krajasekhar.v
1 Replies
DateTime::Locale::ha_GH(3)				User Contributed Perl Documentation				DateTime::Locale::ha_GH(3)

NAME
DateTime::Locale::ha_GH SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'ha_GH' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Hausa Ghana. DATA
This locale inherits from the DateTime::Locale::ha_Latn_GH locale. It contains the following data. Days Wide (format) Litini Talata Laraba Alhamis Jumma'a Asabar Lahadi Abbreviated (format) Lit Tal Lar Alh Jum Asa Lah Narrow (format) L T L A J A L Wide (stand-alone) Litini Talata Laraba Alhamis Jumma'a Asabar Lahadi Abbreviated (stand-alone) Lit Tal Lar Alh Jum Asa Lah Narrow (stand-alone) L T L A J A L Months Wide (format) Janairu Fabrairu Maris Afrilu Mayu Yuni Yuli Augusta Satumba Oktoba Nuwamba Disamba Abbreviated (format) Jan Fab Mar Afr May Yun Yul Aug Sat Okt Nuw Dis Narrow (format) J F M A M Y Y A S O N D Wide (stand-alone) Janairu Fabrairu Maris Afrilu Mayu Yuni Yuli Augusta Satumba Oktoba Nuwamba Disamba Abbreviated (stand-alone) Jan Fab Mar Afr May Yun Yul Aug Sat Okt Nuw Dis Narrow (stand-alone) J F M A M Y Y A S O N D Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide Gabanin Miladi Miladi Abbreviated GM M Narrow GM M Date Formats Full 2008-02-05T18:30:30 = Talata, 5 Fabrairu, 2008 1995-12-22T09:05:02 = Jumma'a, 22 Disamba, 1995 -0010-09-15T04:44:23 = Asabar, 15 Satumba, -10 Long 2008-02-05T18:30:30 = 5 Fabrairu, 2008 1995-12-22T09:05:02 = 22 Disamba, 1995 -0010-09-15T04:44:23 = 15 Satumba, -10 Medium 2008-02-05T18:30:30 = 5 Fab, 2008 1995-12-22T09:05:02 = 22 Dis, 1995 -0010-09-15T04:44:23 = 15 Sat, -10 Short 2008-02-05T18:30:30 = 5/2/08 1995-12-22T09:05:02 = 22/12/95 -0010-09-15T04:44:23 = 15/9/-10 Default 2008-02-05T18:30:30 = 5 Fab, 2008 1995-12-22T09:05:02 = 22 Dis, 1995 -0010-09-15T04:44:23 = 15 Sat, -10 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = Talata, 5 Fabrairu, 2008 18:30:30 UTC 1995-12-22T09:05:02 = Jumma'a, 22 Disamba, 1995 09:05:02 UTC -0010-09-15T04:44:23 = Asabar, 15 Satumba, -10 04:44:23 UTC Long 2008-02-05T18:30:30 = 5 Fabrairu, 2008 18:30:30 UTC 1995-12-22T09:05:02 = 22 Disamba, 1995 09:05:02 UTC -0010-09-15T04:44:23 = 15 Satumba, -10 04:44:23 UTC Medium 2008-02-05T18:30:30 = 5 Fab, 2008 18:30:30 1995-12-22T09:05:02 = 22 Dis, 1995 09:05:02 -0010-09-15T04:44:23 = 15 Sat, -10 04:44:23 Short 2008-02-05T18:30:30 = 5/2/08 18:30 1995-12-22T09:05:02 = 22/12/95 09:05 -0010-09-15T04:44:23 = 15/9/-10 04:44 Default 2008-02-05T18:30:30 = 5 Fab, 2008 18:30:30 1995-12-22T09:05:02 = 22 Dis, 1995 09:05:02 -0010-09-15T04:44:23 = 15 Sat, -10 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 Tal 1995-12-22T09:05:02 = 22 Jum -0010-09-15T04:44:23 = 15 Asa Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 PM 1995-12-22T09:05:02 = 9:05 AM -0010-09-15T04:44:23 = 4:44 AM Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 PM 1995-12-22T09:05:02 = 9:05:02 AM -0010-09-15T04:44:23 = 4:44:23 AM M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, d-M) 2008-02-05T18:30:30 = Tal, 5-2 1995-12-22T09:05:02 = Jum, 22-12 -0010-09-15T04:44:23 = Asa, 15-9 MMM (LLL) 2008-02-05T18:30:30 = Fab 1995-12-22T09:05:02 = Dis -0010-09-15T04:44:23 = Sat MMMd (d MMM) 2008-02-05T18:30:30 = 5 Fab 1995-12-22T09:05:02 = 22 Dis -0010-09-15T04:44:23 = 15 Sat MMMEd (E d MMM) 2008-02-05T18:30:30 = Tal 5 Fab 1995-12-22T09:05:02 = Jum 22 Dis -0010-09-15T04:44:23 = Asa 15 Sat MMMMd (d MMMM) 2008-02-05T18:30:30 = 5 Fabrairu 1995-12-22T09:05:02 = 22 Disamba -0010-09-15T04:44:23 = 15 Satumba MMMMEd (E d MMMM) 2008-02-05T18:30:30 = Tal 5 Fabrairu 1995-12-22T09:05:02 = Jum 22 Disamba -0010-09-15T04:44:23 = Asa 15 Satumba ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, d/M/yyyy) 2008-02-05T18:30:30 = Tal, 5/2/2008 1995-12-22T09:05:02 = Jum, 22/12/1995 -0010-09-15T04:44:23 = Asa, 15/9/-010 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 Fab 1995-12-22T09:05:02 = 1995 Dis -0010-09-15T04:44:23 = -10 Sat yMMMEd (EEE, d MMM y) 2008-02-05T18:30:30 = Tal, 5 Fab 2008 1995-12-22T09:05:02 = Jum, 22 Dis 1995 -0010-09-15T04:44:23 = Asa, 15 Sat -10 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Fabrairu 1995-12-22T09:05:02 = 1995 Disamba -0010-09-15T04:44:23 = -10 Satumba yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 Q1 1995-12-22T09:05:02 = 1995 Q4 -0010-09-15T04:44:23 = -10 Q3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week Litini SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.18.2 2017-10-06 DateTime::Locale::ha_GH(3)
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy