Advertisement
Guest User

MOVE

a guest
Feb 7th, 2017
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. FILE_NAME="/home/hoge/Documents/list.txt"
  4.  
  5. echo "" >> "${FILE_NAME}"
  6.  
  7. while read FILE_LINE;do
  8.  mv -uiv "${FILE_LINE}" /media/hoge/hogehoge/
  9.  
  10. done < "${FILE_NAME}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement