On Wed, Sep 03, 2008 at 06:51:11PM -0700, Noah wrote:
> Hi there,
> 
> I had rsync create a directory with a '^M' in it.
> 
> how do I rm -rf the directory?
> 
> Cheers,
> Noah

There are multiple possibilities:
1) Use a shell which supports tab completion, and tab-complete the
entry.
2) Embed the '^M' using '^V''^M' (type ctrl-v then ctrl-m.)
3) Use shell globbing (if the file is abra^Mcadabra, type:
    ls abra*
    rm abra* (only if the above matched exactly what you want to delete.)

Erik
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to