using "touch" to create directories?
- by user66732
1) in the "A" directory:
find . -type f a.txt
2) in the "B" directory:
cat a.txt | while read FILENAMES; do touch "$FILENAMES"; done
3)
Result: the 2) "creates the files" [i mean only with the same filename, but with 0 Byte size] ok. But if there are subdirs in the "A" directory, then the 2) can't create the files in the subdir, because there are no directories in it.
Question: is there a way, that "touch" can create directories?