Re: cd and rm a directory with '^M'

2008-09-12 Thread DAve
Wayne Sierke wrote: On Thu, 2008-09-04 at 01:28 -0400, DAve wrote: Edwin Groothuis wrote: I had rsync create a directory with a '^M' in it. Use command-line completion: [~/xx] [EMAIL PROTECTED]>touch foo^Mbar # that's ^V^M [~/xx] [EMAIL PROTECTED]>ls -l total 0 -rw-r--r-- 1 edwi

Re: cd and rm a directory with '^M'

2008-09-11 Thread Wayne Sierke
On Thu, 2008-09-04 at 01:28 -0400, DAve wrote: > Edwin Groothuis wrote: > >> I had rsync create a directory with a '^M' in it. > > > > Use command-line completion: > > > > [~/xx] [EMAIL PROTECTED]>touch foo^Mbar # that's ^V^M > > [~/xx] [EMAIL PROTECTED]>ls -l > > total 0 > > -rw-r--r

Re: cd and rm a directory with '^M'

2008-09-03 Thread DAve
Edwin Groothuis wrote: I had rsync create a directory with a '^M' in it. Use command-line completion: [~/xx] [EMAIL PROTECTED]>touch foo^Mbar # that's ^V^M [~/xx] [EMAIL PROTECTED]>ls -l total 0 -rw-r--r-- 1 edwin edwin 0 Sep 4 13:46 foo?bar [~/xx] [EMAIL PROTECTED]>rm foo

Re: cd and rm a directory with '^M'

2008-09-03 Thread Erik Osterholm
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

Re: cd and rm a directory with '^M'

2008-09-03 Thread Giorgos Keramidas
On Wed, 03 Sep 2008 18:51:11 -0700, Noah <[EMAIL PROTECTED]> wrote: > Hi there, > > I had rsync create a directory with a '^M' in it. > > how do I rm -rf the directory? These are a few options: (1) In most shells, you can type a ^M character as part of a filename by prefixing the ^M character