# First, include all dirs + */ # Second, exclude anything from within the next section that you don't want # Then, include the dirs/paths/files you want to backup + /*/bin/*** + /*/.local/bin/*** + /*/*shrc + /*/*history + **/docker-compose.yml # Finally, exclude everything not explicitely included above - *