Clarification --Following symbolic links with find?

From: Taylor, David (DTaylor@WBMI.COM)
Date: Thu Apr 03 2003 - 13:55:23 EST


I should clarify-

Find does follow symbolic links, provided there are in subdirectories of where the find is initiated. My problem is that I am starting the find in the same directory as the links that I need it to follow.

Here's the directory that I am in:

tower@tower_service /tower/home/runtime/is/files $ls -al | grep ^l
lrwxrwxrwx 1 root tower 44 Mar 22 16:47 422-0 -> /tower/home/runtime/is/storage/general/422-0
lrwxrwxrwx 1 root tower 44 Mar 22 16:48 422-2 -> /tower/home/runtime/is/storage/general/422-2
lrwxrwxrwx 1 root tower 47 Mar 22 16:48 422-314 -> /tower/home/runtime/is/storage/personal/422-314
lrwxrwxrwx 1 root tower 46 Mar 22 16:48 422-316 -> /tower/home/runtime/is/storage/general/422-316
lrwxrwxrwx 1 root tower 47 Mar 22 16:49 422-358 -> /tower/home/runtime/is/storage/pcclaims/422-358
lrwxrwxrwx 1 root tower 49 Mar 22 16:49 422-376 -> /tower/home/runtime/is/storage/commercial/422-376
lrwxrwxrwx 1 root tower 49 Mar 22 16:49 422-378 -> /tower/home/runtime/is/storage/commercial/422-378
lrwxrwxrwx 1 root tower 49 Mar 22 16:49 422-380 -> /tower/home/runtime/is/storage/commercial/422-380
lrwxrwxrwx 1 root tower 44 Mar 22 16:50 422-4 -> /tower/home/runtime/is/storage/general/422-4
lrwxrwxrwx 1 root tower 45 Mar 22 16:50 422-6 -> /tower/home/runtime/is/storage/personal/422-6
lrwxrwxrwx 1 root tower 42 Mar 22 16:50 422-644 -> /tower/home/runtime/is/storage/nsi/422-644
lrwxrwxrwx 1 root tower 47 Mar 22 16:51 422-646 -> /tower/home/runtime/is/storage/wcclaims/422-646
lrwxrwxrwx 1 root tower 46 Apr 03 10:47 422-878 -> /tower/home/runtime/is/storage/reports/422-878

This is the find output:

tower@tower_service /tower/home/runtime/is/files $find .
.
./422-0
./422-2
./422-314
./422-316
./422-358
./422-376
./422-378
./422-380
./422-4
./422-6
./422-644
./422-646
./422-878

If I start my find one up (in ....runtime/is/ ) it will follow the links. However, in the case, I need to start the find in this directory.

Again TIA

David

-----Original Message-----
From: Taylor, David
Sent: Thursday, April 03, 2003 12:39 PM
To: 'AIX list'
Subject: Following symbolic links with find?

I saw references to this in the archive but could not find a clear answer.
Is there some way to get the find command to follow symbolic links?

TIA,

David

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:43 EDT