Recent content by Hapxier

  1. H

    [SOLVED] How to put a file into multiple directories

    Thank you all none the less!
  2. H

    [SOLVED] How to put a file into multiple directories

    Hmm. Found two more ways and both are good enough. Considering the directories and files already created in a home folder, this is the first way: echo "/home/dir1/ /home/dir2/ /home/dir3/ " | sudo xargs -n 1 cp -v /home/file{a..z} Considering directories were already made, this is the second...
  3. H

    [SOLVED] How to put a file into multiple directories

    find * -maxdepth 0 -type d -exec cp -vi testfile{a..z} {} \; This work, but caused a problem. It will put it in all directories in the same level (maxdepth 0). I will keep searching for another way.
  4. H

    [SOLVED] How to put a file into multiple directories

    Hello. I'm new to linux and forums alike. I've been doing linux basics. I have a question I'm creating 12 folder with Mkdir dir{1..12} Is it possible, on linux, to create a bunch of files that will be inserted into all those folders simultaneously? Touch file{1..12} dir{1..12} doesn't seem to...
Top