iterate and print all symlinks in dir


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. for dirEval in $( find ./ -type l -name '*' | sort )
  2. do
  3. category=${dirEval#./}
  4. echo $category
  5. done

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.