The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find a string inside files yoavbe Shell Programming and Scripting 12 05-05-2008 02:19 PM
How to delete Directory and inside files using Find command bmkreddy SUN Solaris 3 07-10-2007 03:35 PM
how to find an errored disk raj.soladm SUN Solaris 2 08-28-2006 02:31 PM
how to find Script file location inside script asami Shell Programming and Scripting 10 03-15-2006 12:57 AM
Find files in Directories steiner Shell Programming and Scripting 4 04-02-2005 01:01 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-22-2008
osramos osramos is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 21
Need script to find errored files inside directories

Hi people.

I working on a script to check for files that they are suposed not to be on the directory. I mean, inside of each directory it must have some files but some could be wrong, and i want to move the files that are wrong.

Ex:
CSPOTGET edpst/CargadoresSPOT Historicos_Spot_MDI.zip
COBGET edpst/CargadorOmelBroker ??????.xls
CORGET edpst/CargadorOmelReuters CarOmlReuts.xls

On folder " edpst/CargadoresSPOT " must only have " Historicos_Spot_MDI.zip"

On folder " edpst/CargadorOmelBroker " must only have files with " yymmdd.xls" , and no others.

I imagine this "configuration" file where the 1st column is a variable, the second is the directory and the 3rd column is the file(s) of each directory.

Did you understand what i'm wrote?

osramos
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0