The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #10 (permalink)  
Old 04-13-2008
radoulov's Avatar
radoulov radoulov is online now
addict
 

Join Date: Jan 2007
Location: Milan, Italy/Varna, Bulgaria
Posts: 1,432
Quote:
Originally Posted by ghostdog74 View Post
yes sometimes we just miss the simplest things. however take note it still suffers from "argument too long" issues if there are too many directories ( maybe there's a workaround somewhere)
[...]
My post was based on the OP requirement (~10dirs).

Anyway, I don't think ls and awk are needed in this case
and I'd try to handle pathological dirnames (embedded spaces, newlines or other special characters) .
Reply With Quote