Skip to content

Instantly share code, notes, and snippets.

@bognerf
Created September 13, 2013 09:51
Show Gist options
  • Save bognerf/6548674 to your computer and use it in GitHub Desktop.
Save bognerf/6548674 to your computer and use it in GitHub Desktop.
Script zur Auflistung von FILE-Meta-Informationen in einem gegebenen Verzeichnis Usage: # fileinfo.sh /PATH/TO/DIR
#!/bin/bash
FILES=$1/*
for f in $FILES
do
# echo "Processing $f file..."
# take action on each file. $f store current file name
file $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment