# First, include all dirs + */ # Second, exclude anything from within the next section that you don't want - /Sample-Directory/some/unwanted/dir/*** # Then, include the dirs/paths/files you want to backup + /file.name + /*wildcard.possible + /Sample-Directory/*** + /some/deep/directory/oh/yeah/ # Finally, exclude everything not explicitely included above - *