Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deleting odd-numbered files in a directory?

22 views
Skip to first unread message

Tarkin

unread,
Feb 5, 2009, 4:39:29 PM2/5/09
to
Hiya,
Google is turning up a lot of unrelated matches to this query.
In bash, this would be a simple script (not trying to start a
jihad).

So, is there a good one liner or small script that can do this?
(I have powershell installed).
I do some digital video editing, and sometimes need to delete
hundreds, even thousands of files at a time.

TIA,
Tarkin

Michael Bednarek

unread,
Feb 5, 2009, 10:25:56 PM2/5/09
to
On Thu, 5 Feb 2009 13:39:29 -0800 (PST), Tarkin wrote in
comp.os.ms-windows.misc:

If you show us your bash script, someone might come up with a powershell
translation. Or you could just run it using one of the bash versions
which run under your OS.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

0 new messages