help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File without a name appears in a dired buffer


From: Barry Margolin
Subject: Re: File without a name appears in a dired buffer
Date: Tue, 07 Jun 2016 10:45:14 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <a36c4b30-e40e-46e3-82c7-4f40c2025634@googlegroups.com>,
 Davin Pearson <davin.pearson@gmail.com> wrote:

> Here is a pasting of my ABBA folder.   Note the spurious line at the top of 
> the file.  In other dired buffers more than one of these lines appears. The 
> command
> 
> rm ""
> 
> doesn't remove the file, instead it complains about a non-existent file: `'
> no such file or directory.

It's a directory, not a file. And the name is probably some number of 
spaces. Use

mv " "* bettername

to rename it.

> 
>   c:/Downloads/ABBA Discography [24 96]:
>   total used in directory 1 available 57327936
>   drwxrwxrwx  1 Administrators Administrators   0 05-19 06:52      <--- here
>   drwxrwxrwx  1 Administrators Administrators   0 05-19 06:52 .
>   drwxrwxrwx  1 Administrators Administrators   0 06-07 06:38 ..
>   drwxrwxrwx  1 Administrators Administrators   0 06-02 03:00 1973  Ring Ring
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1974  Waterloo
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1975  ABBA
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1976  All About 
>   ABBA
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1976  Arrival
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1977  The Album
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1979  
>   Voulez-Vous
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1980  Super 
>   Trouper
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-22  1981  The 
>   Visitors
>   drwxrwxrwx  1 Administrators Administrators   0 2015-11-19  Pictures
>   -rw-rw-rw-  1 Davin Pearson  None           359 06-02 03:02 a.wav

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]