[Coco] OS9 del question

Bob Devries devries.bob at gmail.com
Fri Jun 5 00:42:22 EDT 2009


Sadly, I don't think the OS9/6809 version of the del utility supports 
reading the filenames from stdin or a file as does the version in OS9/68000.

The syntax *should* be:

del -z
or
del -z=files_to_be_deleted.txt

You would need to edit your file list to add the command "del " to the start 
of each line (don't forget the space after del).

--
Regards, Bob Devries, Dalby, Queensland, Australia

Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.

my blog: http://bdevries.invigorated.org/

----- Original Message ----- 
From: "Paul Fitch" <pfitchjr at bellsouth.net>
To: "'CoCoList for Color Computer Enthusiasts'" <coco at maltedmedia.com>
Sent: Friday, June 05, 2009 1:45 PM
Subject: [Coco] OS9 del question


>I was doing some disk copying, using "diskcopy" and got the wrong
> destination directory.
>
> So I used "ls -sacen" to generate a single column list of the files in my
> dir.  I then edited the list to leave only the GREAT BUNCH of files I want
> to delete.
>
> Now I want to feed that list to "del" to make them all go away.  I figure 
> I
> could edit the list again, making it a script file with "del" at the top,
> but I'm not sure how to get it to accept the remaining lines as input.
>
> I'm using the 2006 vewrsion of Nitros9 with the standard "del" command and
> "shell+ v2.2".
>
> Any help would be appreciated.
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list