Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k
added 29 characters in body
Source Link
muru
  • 77.9k
  • 16
  • 212
  • 318

I have a file 'rock.mpg'rock.mpg in the folder directory '/folder1/folder2'/folder1/folder2. I need to create multiple  (340) duplicate copies of this file in a different directory say '/folder1/folder2/folder3'/folder1/folder2/folder3 but with different unique filenames.

The unique names for the 340 duplicate copies are random and also not sequential. They are already defined in a separate text file file 'abc.txt'abc.txt which I have.

A sample of duplicate file names in 'abc.txt'abc.txt as follows MS123.mpg DW235.mpg WQ6748.mpg HDJ74.mpg ... ... so

MS123.mpg
DW235.mpg
WQ6748.mpg
HDJ74.mpg
...
...

so on

Can this be achieved with shell script?

I have a file 'rock.mpg' in the folder directory '/folder1/folder2'. I need to create multiple(340) duplicate copies of this file in a different directory say '/folder1/folder2/folder3' but with different unique filenames.

The unique names for the 340 duplicate copies are random and also not sequential. They are already defined in a separate text file file 'abc.txt' which I have.

A sample of duplicate file names in 'abc.txt' as follows MS123.mpg DW235.mpg WQ6748.mpg HDJ74.mpg ... ... so on

Can this be achieved with shell script?

I have a file rock.mpg in the folder directory /folder1/folder2. I need to create multiple  (340) duplicate copies of this file in a different directory say /folder1/folder2/folder3 but with different unique filenames.

The unique names for the 340 duplicate copies are random and also not sequential. They are already defined in a separate text file file abc.txt which I have.

A sample of duplicate file names in abc.txt as follows

MS123.mpg
DW235.mpg
WQ6748.mpg
HDJ74.mpg
...
...

so on

Can this be achieved with shell script?

Added examples to explain better
Source Link

I have a file 'rock.mpg' in the folder directory '/folder1/folder2'. I need to create multiple(340) duplicate copies of this file in a different directory say '/folder1/folder2/folder3' but with different unique filenames.

The unique names for the 340 duplicate copies are random and also not sequential and. They are already defined in a separate text file file 'abc.txt' which I have.

A sample of duplicate file names in 'abc.txt' as follows MS123.mpg DW235.mpg WQ6748.mpg HDJ74.mpg ... ... so on

Can this be achieved with shell script?

I have a file 'rock.mpg' in the folder directory '/folder1/folder2'. I need to create multiple(340) duplicate copies of this file in a different directory but different filenames.

The names for the 340 duplicate copies are not sequential and already defined in a separate text file file 'abc.txt' which I have.

Can this be achieved with shell script?

I have a file 'rock.mpg' in the folder directory '/folder1/folder2'. I need to create multiple(340) duplicate copies of this file in a different directory say '/folder1/folder2/folder3' but with different unique filenames.

The unique names for the 340 duplicate copies are random and also not sequential. They are already defined in a separate text file file 'abc.txt' which I have.

A sample of duplicate file names in 'abc.txt' as follows MS123.mpg DW235.mpg WQ6748.mpg HDJ74.mpg ... ... so on

Can this be achieved with shell script?

Source Link
Loading