Ok, it works.
But there are almost 50 directories, with some of them with 4 or 5 files to exclude ( not match ).
Can do this with a FOR cycle or something similar?
osramos
Quote:
Originally Posted by jim mcnamara
You want to find files that DO NOT match the pattern, correct?
ksh allows you to do that:
Code:
#!/bin/ksh
# files that are not named Historicos_Spot_MDI.zip
ls edpst/CargadoresSPOT/!(Historicos_Spot_MDI.zip)
#
ls edpst/CargadorOmelBroker/!(??????.xls)
#
ls edpst/CargadorOmelReuters/!(CarOmlReuts.xls)
|