MLUG: [MLUG] minor annoyance with '..' files
[MLUG] minor annoyance with '..' files
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I have some files that begin with '..' (don't ask, I have no idea).
Anyway, it seems very difficult to produce a directory listing of just
those files.  These approaches always show the those files, but they also
show files in the parent directory:

ls ..*
ls ./..*
ls $PWD/..*

It looks like it could be very dangerous to attempt to delete them using a
wildcard!

Is there a way to limit output of ls (or rm) to files within the
directory?  Some other trick?

Mike

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/