[ale] shell question
Sean Kilpatrick
kilpatms at gmail.com
Tue Oct 6 16:09:03 EDT 2015
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
More information about the Ale
mailing list