Posted By

jturmel on 01/22/11


Tagged

list Bash directory directories


Versions (?)

List of directories (Unix) without the current directory shortcut and just the names


 / Published in: Bash
 

  1. find . -maxdepth 1 -mindepth 1 -type d | grep -v ‘^\./\.’ | cut -d/ -f2

Report this snippet  

You need to login to post a comment.