Without .mp4 version

mail@pastecode.io avatarunknown
sh
a month ago
185 B
0
Indexable
Never
#!/bin/bash

mkdir -p MOVING

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