[PLUG] trouble deleting files

Rich Shepard rshepard at appl-ecosys.com
Sat Dec 27 00:25:55 UTC 2008


On Fri, 26 Dec 2008, M. Edward (Ed) Borasky wrote:

>> On Fri, Dec 26, 2008 at 3:20 PM, Bill Barry <bill at billbarry.org> wrote:
>>> I am deleting some old backups and I getting some errors like

> Well ... I ran into something like this and ended up having to write a
> Perl script to open the directory ("opendir"), search through it, and then
> unlink all the files with the bogus names. I couldn't figure out how to do
> that from the command line or a bash script -- I had to do it in Perl.

   What happens if the rm command is followed by the file names in double
quotes? I know this works when there are blanks or undisplayable characters
in the filename, but I've no idea what the question marks might indicate.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the PLUG mailing list