[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: "Andrew Becraft" <AndrewB@xxxxxxxxxx>
Subject: Re: Referenced graphics
From: "Thomas Michanek" <thomas.michanek@xxxxxxxxx>
Date: Wed, 29 Mar 2000 20:16:37 +0200
Cc: "Framers" <framers@xxxxxxxxx>, <dartman@xxxxxxxxxxxx>
Reply-To: "Thomas Michanek" <thomas.michanek@xxxxxxxxx>
Sender: owner-framers@xxxxxxxxx
>-----Original Message-----
>>From: David Artman [mailto:dartman@buildnet.com]
>>> However, you might want to think about adding some switches
>>{SNIP}
>>> DIR *.XX1, *.XX2, *.XX3 /b /n /s > Filelist.txt
>>Also, is there a way to set a file type _exclusion_ if, for example, I
>>didn't want "*." to be listed to avoid seeing directory names or I didn't
>>want "*.FM" to be listed but wanted every other file extension displayed
>>(and didn't want to have to exhaustively list all the included extensions
>>separated by commas)?
>>
>As far as exclusions go, I don't know of any way to do that (Microsoft, are
>you listening? Yeah right!). I've always wanted to exclude files as well,
>but the only way I've found is to dig around a little first and establish
>the different types of files you're looking for, then specify only the ones
>you want in the DIR command. Maybe there's a way to do that using Linux or
>UNIX.
Maybe not of general interest, but here's the UNIX way:
ls -1 [directory] | egrep -v '\.filetype'
e.g. "ls -1 | egrep -v '\.fm'" lists all non-"*.fm" files.
UNIX isn't easy, but quite powerful... a GUI isn't always the best solution.
- - - - - - - - - - - - - - - - - - - - - - - - - -
Thomas Michanek, [Michagon], Linkoping, Sweden
Documentation Consultant, FrameMaker/UNIX expert
EMAIL: mailto:Thomas.Michanek@telia.com
WWW: http://go.to/framers , or go directly to:
http://w1.133.telia.com/~u13304072/framers
- - - - - - - - - - - - - - - - - - - - - - - - - -
Subscribe to Omni System's "Free Framers" list: send an email
to majordomo@omsys.com with "subscribe framers" in the body
** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body. **