unrarall / scripte die die welt nicht braucht ;)
#!/bin/bash ## unrarall (no copyright) by hackbyte - have fun ;) pushd "$1" &>/dev/null ; find "$1" -iname \*.rar | while read ; do REPLYDIR=$(dirname "$REPLY") ;REPLYFILE=$(basename "$REPLY") pushd "$REPLYDIR" &>/dev/null ; unrar x -y "$REPLYFILE" ;if [ $? == 0 ] ; then rm -Rvf ./*.r?? ; else ; exit 255 ; fi ; popd &>/dev/null ; done ;popd &>/dev/null # # Scrippte die die welt nicht braucht teil 9817439125364123,2 #
Comments