a *very* odd question especially for me. Janina Sajka <janina at rednote.net> wrote

Sam Hartman hartmans at mit.edu
Thu Jul 30 18:01:01 UTC 2015

read the line from the file into $f
and try something like mv "./$f" "./$f.new_name"
that should work assuming the files are in the current directory.
Leading dashes are another issue.
You could also do
mv -- "$f" "$f.new" 
but that depends on an artifact of how mv works.

More information about the Blinux-list mailing list