Skip to content

Instantly share code, notes, and snippets.

@s0ftcorn
s0ftcorn / move_non_h264.sh
Created October 15, 2025 15:39
Move files that are not h264 encoded to directory recursively preserving directory structure
#!/bin/bash
# Überprüfen, ob genau zwei Argumente übergeben wurden
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <source_directory> <destination_directory>"
exit 1
fi
source_dir="$1"
destination_dir="$2"