cat file.txt | xargs -i cp {} /path/
txt 中のファイル名は 1 行に 1 つ
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Tue Jun 13 16:55:14 2017
author: hans
"""
import Image
f = open('list.txt')
for line in f:
line=line.strip('\n')
im = Image.open('/path/to/image/%s' %line)
im.save('./path/to/destination/%s' %line)