Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- basepath=$(pwd)
- while IFS='' read -r line || [[ -n "$line" ]]; do
- line="$basepath/$line"
- mkdir -p "$(dirname "$line")"
- touch "$line"
- done < "$1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement