I need to copy all files listed in TXT file from one location to another location./1132526906_tt_nad87_1.jpg    /thumb/t1132526906_tt_nad87_1.jpg  /1132526906_tt_nad87_10.jpg   /thumb/t1132526906_tt_nad87_10.jpg  /1132526906_tt_nad87_11.jpg   /thumb/t1132526906_tt_nad87_11.jpg  /1132526907_tt_nad87_12.jpg   /thumb/t1132526907_tt_nad87_12.jpg  /1132526907_tt_nad87_13.jpg   /thumb/t1132526907_tt_nad87_13.jpg  /1132526908_tt_nad87_14.jpg   /thumb/t1132526908_tt_nad87_14.jpgI can create a CSV file and divide source and target with some usable character.ExampleI would like to copy file 1132526906_tt_nad87_1.jpg from ./ to /thumb/t1132526906_tt_nad87_1.jpg - rename and move.QuestionIs there some command line command to do it? I found examples but these examples do only copying (without rename). UPDATEI created this script:#!/bin/bashinput=/data/web/web/gallery/data.csvwhile IFS=',' read from todo    echo from: $from, to: $todone < $inputbut no line is echoed, it seems that data.csv file is not read. Is there something wrong?
How to copy and rename file listed in TXT file?
command line;rename;cp