1

How to exit automatically from current copying process?

view story
linux-howto

http://askubuntu.com – I am trying to copy the content from my source folder to mounted destination folder. What I did is i was mounted 4 devices by giving the ip to /etc/fstab. //192.168.100.1/C1 /media/Client_1 smbfs guest 0 0 //192.168.100.2/C2 /media/Client_2 smbfs guest 0 0 //192.168.100.2/C3 /media/Client_3 smbfs guest 0 0 //192.168.100.2/C4 /media/Client_4 smbfs guest 0 0 and then by using python script,I am trying to copy the files to all Client_1,Client_2,3 and 4 folders.The below line is used to copy the file to mounted folders. os.system("cp -f sourcepath/* /media/C1" %locals()) os.system("cp -f so (HowTos)