directory names , get base dir removing fileName from string


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

you have to collect the filenames from 'find' in an input file then open the input in this script


Copy this code and paste it in your HTML
  1. /home/rob/bin/str_get_dirname.sh /var/tmp/vid_all | sort | uniq -c
  2.  
  3. 3 vbuilder/glass/images_ads
  4. 3 vbuilder/glass/vbuilder/glass/images_ads
  5. 248 vbuilder/images_gallery
  6. 96 vbuilder/netvibes_gallery

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.