why find doesn't return/find anything then invoked from / directory???
The same behaviour with gnufind (findutils-4.4.2-2)
The same behaviour on root and non-root accounts.
The same behaviour with gnufind (findutils-4.4.2-2)
The same behaviour on root and non-root accounts.
Code:
# find /data/idx/* -ctime +93 -type d -name [0-9][0-9][A-Z][A-Z][A-Z][0-9][0-9] -print
/data/idx/N/19MAY11
/data/idx/N/20MAY11
/data/idx/N/21MAY11
/data/idx/N/22MAY11
/data/idx/N/23MAY11
/data/idx/N/24MAY11
# cd /
# find /data/idx/* -ctime +93 -type d -name [0-9][0-9][A-Z][A-Z][A-Z][0-9][0-9] -print
# cd /usr
# find /data/idx/* -ctime +93 -type d -name [0-9][0-9][A-Z][A-Z][A-Z][0-9][0-9] -print
/data/idx/N/19MAY11
/data/idx/N/20MAY11
/data/idx/N/21MAY11
/data/idx/N/22MAY11
/data/idx/N/23MAY11
/data/idx/N/24MAY11
# cd /
# find /data/idx/* -ctime +93 -type d -name [0-9][0-9][A-Z][A-Z][A-Z][0-9][0-9] -print
#
# find /data/idx/ -ctime +93 -type d -name [0-9][0-9][A-Z][A-Z][A-Z][0-9][0-9] -print
# find /data/idx -ctime +93 -type d -name [0-9][0-9][A-Z][A-Z][A-Z][0-9][0-9] -print
# ls -ld /data/idx
drwxrwxr-x 11 lido lido 4096 Jul 04 07:19 /data/idx
#