Simply replace “<dir>” with your target directory (use “/” for the root directory).

Output: