Alessandro Doro wrote:
On Sat, Apr 04, 2009 at 04:35:04PM -0400, Baho Utot wrote:
Kurt J. Bosch wrote:
On 2009-04-04 15:06, Baho Utot wrote:
find returns the directory entry with ./ in front of the directory name
Anyone know how to make find return abs instead of ./abs

man find suggests -printf %P for this :)

doesn't work

Do you maybe need this?
for i in $(find . -mindepth 1 -maxdepth 1 -type d -printf "%P\n") ; do

That did indeed work

Now my script works "out of the box"

Many Thanks

Reply via email to