.mp4 version
#!/bin/bash mkdir -p MOVING while IFS= read -r line do mkdir -p "MOVING/$(dirname "$line")" cp "$line" "MOVING/$line" done < list.txt
#!/bin/bash mkdir -p MOVING while IFS= read -r line do mkdir -p "MOVING/$(dirname "$line")" cp "$line" "MOVING/$line" done < list.txt