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

Bug#319607: find warning while removing empty directories in cleanlinks



Package: xutils
Version: 6.8.2.dfsg.1-4
Severity: minor

Hi,

This warning is issued by find while removing empty directories in cleanlinks:

Removing empty directories ...
find: warning: you have specified the -depth option after a non-option argument
-type, but options are not positional (-depth affects tests specified before it
as well as those specified after it).  Please specify options before other arguments.

This can be avoided putting -depth option as the first parameter:

find . -depth -type d -empty -print -exec rmdir {} \;

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-15) (ignored: LC_ALL set to es_ES@euro)

Versions of packages xutils depends on:
ii  cpp                       4:4.0.0-2      The GNU C preprocessor (cpp)
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libfs6                    6.8.2.dfsg.1-4 X Font Server library
ii  libselinux1               1.24-1         SELinux shared libraries
ii  x11-common                6.8.2.dfsg.1-4 X Window System (X.Org) infrastruc
ii  zlib1g                    1:1.2.3-1      compression library - runtime

xutils recommends no packages.

-- no debconf information



Reply to: