File size: 209 Bytes
ba48b51
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/bash

# Create the target directory if it doesn't exist
mkdir -p ../all

# Use find and xargs to move jpg files from all chunk directories
find ./chunk_* -name "*.jpg" -print0 | xargs -0 mv -t ../all/