All pastes #514513 Raw Edit

Unnamed

public text v1 · immutable
#514513 ·published 2007-05-27 19:49 UTC
rendered paste body
#!/bin/bash

ls -1 *.jpeg | while read file
do
target=echo "${file}_`date -r "${file}" +%H:%M:%S`"
mv "$file" "$target"
done