notes & stuff
Apr 30 2012
9:35 am
split path from filename #bash
#!/bin/bash
# file
e=”/path/to/file.sh”
# splitted vars
FILEDIR=”${e%/*}”
FILENAME=”${e##*/}”
Posted 1 year ago
#bash
0 notes