Ignore files in root dir
Posted: Tue Oct 02, 2012 3:54 pm
Hi All, I have a directory with several subdirectories and files in it. I want to be able to retrieve files from the subdirectories while excluding all files in the root directory, how can Ido this? see below for example
the black text are the directories and the blue text are the files, these are all under the same parent directory.
How can exclude just the files in blue?
850_061665964NC 10/2/12 5:41:00 PM 0
852_061665964NC 10/2/12 5:41:00 PM 0
EDI_INVRPT_D_01B_UN_EAN006_1 10/2/12 5:41:00 PM 0
EDI_INVRPT_D_96A_UN_EAN004_1 10/2/12 5:41:00 PM 0
EDI_ORDERS_D_93A_UN_EAN007_1 10/2/12 5:41:00 PM 0
EDI_ORDERS_D_96A_UN_EAN008_1 10/2/12 5:41:00 PM 0
EDI_ORDERS_D_96A_UN_EAN008_42 10/2/12 5:41:00 PM 0
EDI_SLSRPT__901_EN_EAN001_1 10/2/12 5:41:00 PM 0
EDI_SLSRPT_D_93A_UN_EAN003_1 10/2/12 5:41:00 PM 0
EDI_SLSRPT_D_96A_UN_EAN004_1 10/2/12 5:41:00 PM 0
EDI_SLSRPT_D_96A_UN_EAN004_1_RINASCENTE 10/2/12 5:41:00 PM 0
EDIWIN-SOURCE-FILE 10/2/12 5:41:00 PM 0
1209261628020193972000-061665964NC-852_061665964NC-0 10/2/12 5:39:00 PM 12.76
1209261628095702694000-061665964NC-852_061665964NC-0 10/2/12 5:39:00 PM 1.58
1209261828352132171000-061665964NC-850_061665964NC 10/2/12 5:38:00 PM 2.75
1209271828442097749000-061665964NC-850_061665964NC 10/2/12 5:38:00 PM 4.3
1209281430099632668000-061665964NC-852_061665964NC-0 10/2/12 5:39:00 PM 13.99
the black text are the directories and the blue text are the files, these are all under the same parent directory.
How can exclude just the files in blue?
850_061665964NC 10/2/12 5:41:00 PM 0
852_061665964NC 10/2/12 5:41:00 PM 0
EDI_INVRPT_D_01B_UN_EAN006_1 10/2/12 5:41:00 PM 0
EDI_INVRPT_D_96A_UN_EAN004_1 10/2/12 5:41:00 PM 0
EDI_ORDERS_D_93A_UN_EAN007_1 10/2/12 5:41:00 PM 0
EDI_ORDERS_D_96A_UN_EAN008_1 10/2/12 5:41:00 PM 0
EDI_ORDERS_D_96A_UN_EAN008_42 10/2/12 5:41:00 PM 0
EDI_SLSRPT__901_EN_EAN001_1 10/2/12 5:41:00 PM 0
EDI_SLSRPT_D_93A_UN_EAN003_1 10/2/12 5:41:00 PM 0
EDI_SLSRPT_D_96A_UN_EAN004_1 10/2/12 5:41:00 PM 0
EDI_SLSRPT_D_96A_UN_EAN004_1_RINASCENTE 10/2/12 5:41:00 PM 0
EDIWIN-SOURCE-FILE 10/2/12 5:41:00 PM 0
1209261628020193972000-061665964NC-852_061665964NC-0 10/2/12 5:39:00 PM 12.76
1209261628095702694000-061665964NC-852_061665964NC-0 10/2/12 5:39:00 PM 1.58
1209261828352132171000-061665964NC-850_061665964NC 10/2/12 5:38:00 PM 2.75
1209271828442097749000-061665964NC-850_061665964NC 10/2/12 5:38:00 PM 4.3
1209281430099632668000-061665964NC-852_061665964NC-0 10/2/12 5:39:00 PM 13.99