HI all
I want to copy a file name. Please let me explain myself;
filename20070824
cp filename20070824 test_filename20070824
The problem I have is that I want to use * instead of the date. I want to cp it in such a way that it keeps the name of the file and just adds "test_" at the start of it.
there will be only one file, with the name starting with "filename*"
may be something like
cp filename* test_*
but this command creat a file with the name "test_*"
I want to have "test_filename20070824"
Thanks for your help
I want to copy a file name. Please let me explain myself;
filename20070824
cp filename20070824 test_filename20070824
The problem I have is that I want to use * instead of the date. I want to cp it in such a way that it keeps the name of the file and just adds "test_" at the start of it.
there will be only one file, with the name starting with "filename*"
may be something like
cp filename* test_*
but this command creat a file with the name "test_*"
I want to have "test_filename20070824"
Thanks for your help