#!/bin/bash

## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

## Thanks to:
## http://stackoverflow.com/a/2154277

recurse() {
 local i
 for i in "$1"/*;do
    if [ -d "$i" ];then
        #echo "dir: $i"
        recurse "$i"
    elif [ -f "$i" ]; then
        printf '%s\n' "$i"
    fi
 done
}

## XXX: hardcoded path
recurse "$HOME/derivative-maker"
