Without .mp4 version

 avatar
unknown
sh
2 years ago
185 B
4
Indexable
#!/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
Editor is loading...