[CentOS-mirror] extra files on centosn5 (

Mitry Matyushkov ftp at mgts.by
Wed Sep 14 07:46:18 EDT 2011


On 9/14/2011 10:17 AM, Tru Huynh wrote:
> On Wed, Sep 14, 2011 at 08:17:44AM +0300, Mitry Matyushkov wrote:
>> Hi,
>> On 9/13/2011 11:02 AM, Tru Huynh wrote:
>>> On Tue, Sep 13, 2011 at 07:49:20AM +0300, Mitry Matyushkov wrote:
>>>> Hi,
>>>> Looks like there are temporary files on centosn5, which were deleted on
>>>> the next run against centosh2:
>>> Fixed, thanks for the report!
>> Actually, there are still a bunch of stale files on centosn5. This will
>> give you a complete list of them:
>> $ rsync -r --list-only>/tmp/centosn5.list
>> $ egrep '\/\.' /tmp/centosn5.list
> clean up:
> find centos -type d -name .~tmp~| xargs /bin/rm -rf
> find centos -type f -name .???\*rpm\*| xargs /bin/rm

Fortunately, I use --exclude .~tmp~/ in all my scripts so our mirror is 
not heavily affected. However, it seems to me that there should be an 
on-boot script to run on restarted mirror to clean up mirror tree.


More information about the CentOS-mirror mailing list