I'm a first time poster & new-ish to coding:
I need to copy a file ING_30.tif
into 100s of folders, so I'm hoping to use a terminal command to do this quickly.
- Both
ING_30.tif
and the folders I need to copy it into are in the same parent folder,ING/
. - I don't want to copy
ING_30.tif
into every folder inING/
, just the folders inING/
that start withAST
(e.g.AST_1113054
). - These
AST*
folders already have other files in them which I don't want to remove.
Help would be appreciated. I found posts online that copied a file into multiple folders, but not code that let me specify that I only want to copy into the AST*
folders. I also saw that some commands copied over the file but removed existing files already in the folder, which I need to avoid. Thanks!