Let's say you have a directory called '/Mydir'
and underneath this directory you have
Object link Type
. DIR
.. DIR
* STMF
somefile.txt STMF

Notice the file with a name of an asterisk?
While one coworker tries to figure out why his qsHell sftp session is now
doing this with an old script that's worked for years, I've been tasked
with trying to figure out how to rename this to something usable.

Here's my attempt..
ren '/Mydir/"*"' 'x'
Object not found. Object is /Mydir/*.
Argh! I think the coworker just figured it out.
Object link Type
. DIR
.. DIR
asterisk STMF
somefile.txt STMF


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.