[kwlug-disc] Renaming a directory containing double quotation marks

CrankyOldBugger crankyoldbugger at gmail.com
Wed Sep 18 14:18:07 EDT 2013


mv, not rmdir!




On 18 September 2013 14:11, Khalid Baheyeldin <kb at 2bits.com> wrote:

> If the file starts with normal letters or numbers, then I type:
>
> $ rmdir abc
>
> Then hit tab and let bash do the escaping for me.
>
> Another way is to see any pattern of regular characters then do:
>
> $ rmdir "*abc*"
>
> (assuming no other directories in the current directory match those
> characters!)
>
> And let the shell figure it out.
>
>
> On Wed, Sep 18, 2013 at 1:49 PM, John Driezen <jdriezen at sympatico.ca>wrote:
>
>> How do I rename a directory that contains double quotation marks from the
>> command line?  I'm using a bash shell.
>>
>> John Driezen
>> jdriezen at sympatico.ca
>>
>>
>>
>> ______________________________**_________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/**listinfo/kwlug-disc_kwlug.org<http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org>
>>
>
>
>
> --
> Khalid M. Baheyeldin
> 2bits.com, Inc.
> Fast Reliable Drupal
> Drupal optimization, development, customization and consulting.
> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
> Simplicity is the ultimate sophistication. --   Leonardo da Vinci
> For every complex problem, there is an answer that is clear, simple, and
> wrong." -- H.L. Mencken
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20130918/66a77929/attachment-0001.html>


More information about the kwlug-disc mailing list