Date: Thu, 04 Sep 2008 06:20:19 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Noah <admin2@enabled.com> Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: cd and rm a directory with '^M' Message-ID: <87fxog8umk.fsf@kobe.laptop> In-Reply-To: <48BF3F0F.6030606@enabled.com> (Noah's message of "Wed, 03 Sep 2008 18:51:11 -0700") References: <48BF3F0F.6030606@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 03 Sep 2008 18:51:11 -0700, Noah <admin2@enabled.com> 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 with ^V. (2) Use tab completion. Type the first part of the filename and hit the TAB key. The shells which support tab completion will fill in the remaining bits of the filename in the 'correct' way. (3) Use a GUI file manager or the `dired' mode of GNU Emacs to delete the file.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fxog8umk.fsf>