NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
hellbent1
May 20, 2010Aspirant
Automatic 0.6.2 on Duo Issues
I've been trying to get automatic running on my Duo for the last few days with little to no success. I'm not much for unix so that doesn't help matters but i'll walk you thru where i've gotten to. ...
Andreas75k
Aug 24, 2010Aspirant
WhoCares? wrote: #!/bin/bash
cd /what/ever/dir/you/want
for file in *; do ext=${file: -7}; if [ ! "$ext" = "torrent" ]; then mv ${file} ${file}.torrent; fi; done
cd -
-Stefan
I get an error:
mv: when moving multiple files, last argument must be a directory
Try `mv --help' for more information.
Could I be doing something wrong or does something in the script need to be changed?
Thanks in advance for your help!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!