Posted By

yoblob on 02/24/11


Tagged

Bash


Versions (?)

iterate and print all symlinks in dir


 / Published in: Bash
 

  1. for dirEval in $( find ./ -type l -name '*' | sort )
  2. do
  3. category=${dirEval#./}
  4. echo $category
  5. done

Report this snippet  

You need to login to post a comment.