How to add a file to the .data directory

Hello I would like to know how to add a file (database.sqlite) to the .data directory

There are two ways that I know about.
touch .data/[FILENAME] creates a file.
echo .data/[FILENAME] >> "[DATA]" inserts [DATA] into ./data/[FILENAME]

2 Likes

You can also move the existing file:

mv hello.sqlite .data/hello.sqlite

1 Like