jeudi 11 octobre 2018

How to copy files from a given directory into random directories of a target directory

I have a directory /Garbage which contains files Garbage-XXX where XXX is a random number.

I have a directory /Target which has several subdirectories.

How can I tell bash to copy/move files from /Garbage into random subdirectories within /Target?




Aucun commentaire:

Enregistrer un commentaire