ilovelinux2006
Programmer
Hey everyone,
I have about 10 files in my directory
06_12_2006
06_19_2006
06_20_2006
07_05_2006
07_02_2006
08_15_2006
08_22_2006
ect:
I configured this script:
month=$(date +%m)
year=$(date +%Y)
mv /directory/$month_(?myquestion?)_$year /backup
How Do I make the (?myquestion?) a wildcard? So it will accept any of the numbers 02, 15, 22, 12, 05, any number. Thanks!!!!!!!!
I have about 10 files in my directory
06_12_2006
06_19_2006
06_20_2006
07_05_2006
07_02_2006
08_15_2006
08_22_2006
ect:
I configured this script:
month=$(date +%m)
year=$(date +%Y)
mv /directory/$month_(?myquestion?)_$year /backup
How Do I make the (?myquestion?) a wildcard? So it will accept any of the numbers 02, 15, 22, 12, 05, any number. Thanks!!!!!!!!