Re: a *very* odd question especially for me. Janina Sajka <janina@xxxxxxxxxxx> wrote

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]