Обсуждение: Most linux/rpms/fedora/fedora directories are empty

Поиск
Список
Период
Сортировка

Most linux/rpms/fedora/fedora directories are empty

От
Peter Eisentraut
Дата:
I think the FTP server directory structure could use a bit of

find . -type d -empty -exec rmdir '{}' ';'

It's not very nice to make users click all the way down to

./binary/v9.0.0/linux/rpms/fedora/fedora-9-i386

only to discover that it's empty.




Re: Most linux/rpms/fedora/fedora directories are empty

От
Devrim GÜNDÜZ
Дата:
On Fri, 2010-09-24 at 09:22 +0300, Peter Eisentraut wrote:
>
> I think the FTP server directory structure could use a bit of
>
> find . -type d -empty -exec rmdir '{}' ';'
>
> It's not very nice to make users click all the way down to
>
> ./binary/v9.0.0/linux/rpms/fedora/fedora-9-i386
>
> only to discover that it's empty.

Right, removed.

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz