I want to backup the folder structure of a particular Linux filesystem path, but not the files. Is there a good way to do this?
Using wildcards to exclude "**/*" excludes both files and folders. I believe changing this to exclude "**/*.*" would catch the bulk of files, but leaves open the possibility of including files that don't have a period and excluding folders that do.
Is there a better way to accomplish this?