Python Forum
Copy mp3 file multiple times and rename
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy mp3 file multiple times and rename
#1
Hi, I need to copy a mp3 file and make 6 additional copies for a total of 7 mp3 files, Each mp3 file needs to have the file number beginning from number 2-account, 4-account, 6-account, 8-account, 10-account, 12-account, 14-account.
This is what I have tried so far but it's not working.
I hope you can help me out thank you


[python]

import subprocess

src="C:/Users/new kichen/Desktop/cpier1/01-account.mp3"
dst="C:/Users/new kichen/Desktop/cpier2/02-account.mp3"
cmd='copy "%s" "%s"' % (src, dst)







[\python]
Reply


Messages In This Thread
Copy mp3 file multiple times and rename - by Mar10 - Sep-22-2020, 11:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why is the copy method name in python list copy and not `__copy__`? YouHoGeon 2 307 Apr-04-2024, 01:18 AM
Last Post: YouHoGeon
  Copy Paste excel files based on the first letters of the file name Viento 2 476 Feb-07-2024, 12:24 PM
Last Post: Viento
  Rename first row in a CSV file James_S 3 624 Dec-17-2023, 05:20 AM
Last Post: James_S
  rename file RolanRoll 0 547 May-18-2023, 02:17 PM
Last Post: RolanRoll
  '' FTP '' File upload with a specified string and rename midomarc 1 1,203 Apr-17-2023, 03:04 AM
Last Post: bowlofred
  is it possible to copy image from email and place into excel file? cubangt 3 1,297 Nov-30-2022, 05:11 PM
Last Post: snippsat
  Please help me [copy and paste file from src to dst] midomarc 2 1,047 Nov-24-2022, 10:13 PM
Last Post: midomarc
  rename same file names in different directories elnk 0 730 Nov-04-2022, 05:23 PM
Last Post: elnk
  Rename multiple photos with DateTimeOriginal timestamp Stjude1982 2 1,180 Oct-21-2022, 12:24 AM
Last Post: Pedroski55
  Saving the times a script is run to a file or ... 3Pinter 7 1,445 Oct-19-2022, 05:38 PM
Last Post: 3Pinter

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020