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. _______________________________________________ Blinux-list mailing list Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list