Subversion Repositories programming

Compare Revisions

Ignore whitespace Rev 97 → Rev 98

/shell_programs/nfocreate
1,5 → 1,7
#!/bin/bash
 
if [ -z "$@" ]; then echo "I need a filename..."; exit; fi;
 
MY_FILENAME=$(echo "$@" | sed 's/\.avi//' | sed 's/\.ogm//' | sed 's/\.mkv//').nfo
 
### Output title ###