[ale] shell question

Sean Kilpatrick kilpatms at gmail.com
Tue Oct 6 16:40:43 EDT 2015


Good news/bad news:

The offending files are gone.

I have NO idea what command might have done the deed.

Sometimes I am convinced that computers are, indeed, sentient, and enjoy
playing little, time-wasting tricks like this.

Sean

-----------------------------------------------------------------------


On Tue, 2015-10-06 at 16:09 -0400, Sean Kilpatrick wrote:
> I am trying to clean up an SD card.  "ls-ahl" gives me this:
> 
> -rw-r--r--. 1 kilpatms users 224K Sep 13 15:04 !µ"µ#µ$µ.%µ&
> drwx------. 9 kilpatms users  16K Oct  6 15:38 .
> drwxr-x---+ 3 root     root    60 Oct  6 15:33 ..
> -rw-r--r--. 1 kilpatms users 832K Sep 13 15:04 ?µ?µ?µ?µ.?µ?
> drwx------. 5 kilpatms users 192K Aug 27  2011 DCIM
> drwx------. 2 kilpatms users  32K Oct  6 15:35 FOUND.000
> drwx------. 2 kilpatms users  32K Sep 13 17:08 .fseventsd
> -rw-r--r--. 1 kilpatms users  32K Jul  4  2012 MISC
> drwx------. 2 kilpatms users  32K Oct  6 15:34 NCFL
> -rw-r--r--. 1 kilpatms users  512 Oct  6 15:33 NIKON001.DSC
> drwx------. 2 kilpatms users  32K Sep 13 15:15 System Volume Information
> drwx------. 4 kilpatms users  32K Oct  6 15:35 .Trash-1000
> drwx------. 2 kilpatms users 256K Nov  1  2014 .Trashes
> -rw-r--r--. 1 kilpatms users    0 Jan  1  1980 USBCô?
> 
> 
> I would like to delete the file beginning with ! and the one beginning
> with  ?.
> 
> 
> But when I try "rm !*.*" I get this:
>    rm -ahl.*
>    rm: invalid option -- 'a'
>    Try 'rm --help' for more information.
> 
> which leads me to try rm ./!*, which doesn't work;
> neither does rm -- !*
> 
> 
> 
> And when I try "rm ?*.*"  I get this:
>    rm: cannot remove ‘FOUND.000’: Is a directory
> 
> Clues would be appreciated.
> 
> Sean
> 
> 
>    
> 
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo




More information about the Ale mailing list