Backuping hidden files only

Asked by Kirill Kabardin

Is there any way to backup hidden files only without backuping non-hidden ones? I want to backup user configs only and exclude any other directories in home folder.

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Dan
Solved:
Last query:
Last reply:
Revision history for this message
Best Dan (danleweb) said :
#1

You can try to exclude: "/home/<user>/[A-Za-z_0-9]*"

Regards,
Dan

Revision history for this message
Kirill Kabardin (kkabardin) said :
#2

Thank you. excluding "/home/<user>/[!.]*" seems to work but now some directories in backup destination directory changed their owner to "root". (._.)

Revision history for this message
Kirill Kabardin (kkabardin) said :
#3

Thanks Dan, that solved my question.