" mv * dir " doesn't work in a script?
- by Anxo
I want to move all the files to a new dir. From the command line I can do "mv . newdir" but if I try with this script:
#!/bin/bash -f
#
mkdir newdir
mv *.* newdir
I get the following message: "mv: rename . to newdir/.: No such file or directory"