<div dir="ltr"><div><div><div><div>If the file starts with normal letters or numbers, then I type:<br><br></div>$ rmdir abc<br><br></div>Then hit tab and let bash do the escaping for me.<br><br>Another way is to see any pattern of regular characters then do:<br>
<br></div>$ rmdir "*abc*"<br><br></div><div>(assuming no other directories in the current directory match those characters!)<br><br></div>And let the shell figure it out.<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Sep 18, 2013 at 1:49 PM, John Driezen <span dir="ltr"><<a href="mailto:jdriezen@sympatico.ca" target="_blank">jdriezen@sympatico.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How do I rename a directory that contains double quotation marks from the command line? I'm using a bash shell.<br>
<br>
John Driezen<br>
<a href="mailto:jdriezen@sympatico.ca" target="_blank">jdriezen@sympatico.ca</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://kwlug.org/mailman/<u></u>listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br>
</div>