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