#!/bin/sh # add extension to all files in this path find . -type f ! -name "*.*" -exec mv {} {}.mp4 \;