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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mget command scorpio Shell Programming and Scripting 4 04-29-2008 10:00 PM
mget and mput... yoyomamma UNIX for Dummies Questions & Answers 14 09-19-2003 11:48 AM
mget yls177 UNIX for Dummies Questions & Answers 2 09-16-2002 07:37 AM
mget question ho_k UNIX for Dummies Questions & Answers 5 04-24-2002 09:38 PM
mget (ftp command) Ganondorf UNIX for Dummies Questions & Answers 2 08-03-2001 01:01 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2005
Registered User
 

Join Date: Aug 2005
Posts: 1
Filename Patterns in mget

I was writing a shell script for FTPing files for a machine. now i am facing a problem in it. The problem is i want to ftp files which do not end with a particular pattern. The pattern is file should not end with .dd ( d=digit )

for eg: say i have files
file
file.01
file.02
file.03
file.abc.01
file.abc_01
file.abc
file.01abc

want to use mget with a pattern in such a way that it should only ftp files
file
file.abc_01
file.abc
file.01abc


Alternative way of implementation are also appreciated.

Thanks.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0