musicmove.py
public python v1 · immutable#!/usr/bin/env python# musicmove.py# save to any folder as musicmove.py and chmod +x musicmove.yp# edit musiclist and destination below# then run it ./musicmove.pyimport osmusiclist='/path/to/musiclocations.txt' #EDIT: change this to the location of your musiclocations.txt filedestination='/path/to/new/music/location/' #EDIT: change this to the destination folder for your musicf=open(musiclist)for line in f: line=line[:-1] os.system('mv '+line+' '+destination)