Re: State of directories with the same name

[email protected]
Newsgroups gmane.linux.redhat.general
Message-ID <[email protected]>
Doll, Margaret Ann wrote:
> I am doing an "rsync" from one array to another.
>
> I looked at the the files on the disk to which I am copying this morning.
> "ls" showed three copies of some of the folders and one copy of others.
> "ls -sal" showed that the three copies of a folder, seemed to have the
> same contents.
>
> I made a new directory newadmin, "cd"ed into the admin directory, "mv" all
> the files in the admin directory to newadmin, "cd .." and did another
> listing.  Now all the directories were there, but the duplicates were
> gone.   Why did this happen?
>
> nas-0-0 dist]# ls
> admin       bco    cha       jad
> admin       bco    class
> admin       bco    class
>
> ls -sal admin
> total 4
> 0 drwxrwxrwx  4 nobody nobody   52 Dec 25  2011 .
> 4 drwxrwxrwx 34 root   root   4096 Apr 21 08:28 ..
> 0 drwxrwxrwx  3 nobody nobody   55 Sep 14  2007 atipa
> 0 drwxrwxrwx  2 nobody nobody   87 Oct 15  2007 export-restore
> 0 -rw-rw-rw-  1 nobody nobody    0 Sep 10  2007 ge.out
> [root@nas-0-0 dist]# ls -sal admin*
<snip>
This would get admin, and everything under it... including, if they existed,
~admin/admin/admin.

        mark

-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.