Where full_path_list_file is the name of your file. The sort -u ensures that you get a unique list (ie. duplicates removed).(for f in `cat full_path_list_file`; do dirname $f; done) | sort -u
In reply to Re: extracting file names
by aufflick
in thread extracting file names
by gitarwmn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |