Is it possible to create a file which contains the information (the contents) of a certain folder? For example:
cat /folder >> file
I also tried
touch /folder >> file
I should add that I need the folders and their folders and files in a recursive way
cat file1 file2 > file3i was able to transfer the text(content) of file1 and file2 to file3. I'm trying to do the same, but with the files that are in "folder". – Sam Oct 10 '16 at 20:07