i have a shell script i wrote where I type something like:
./npage titlehere > pagename.html
and it makes a html page with the correct title and filename that I told it.
I added at the end so that it does
mv *.html /home/username/web/
how can I change it so it only moves the file I just created and not all html files in that directory?
./npage titlehere > pagename.html
and it makes a html page with the correct title and filename that I told it.
I added at the end so that it does
mv *.html /home/username/web/
how can I change it so it only moves the file I just created and not all html files in that directory?