I have a directory "~/files" which contains files a through z with varying contents. I have a file "test" whose contents are "text"
I want to create directory "~/new" containing files a through z with contents "text"
Example bash script:
for filename in "~/files"; do
cp "~/test" "~/new/filename"
done