Re: State of directories with the same name

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

 



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:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux