This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
auto_unrar [2009/08/01 18:07] jt created |
auto_unrar [2009/08/01 18:08] jt |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <code> | + | <code bash> |
#!/bin/bash | #!/bin/bash | ||
IMAGES=$(/bin/pwd) | IMAGES=$(/bin/pwd) | ||
- | for i in $(find . -maxdepth 1 -type d -mtime -1); do | + | for i in $(find . -maxdepth 1 -type d -ctime -1); do |
if [ ! -e $i/.rarlock ] || [ ! -e $/.rarcc ]; then | if [ ! -e $i/.rarlock ] || [ ! -e $/.rarcc ]; then |