Empty folders in filtered subfolders

Questions about Cobian Reflector
Post Reply
lyichi
Posts: 2
Joined: 22 Jun 2022, 04:51

Empty folders in filtered subfolders

Post by lyichi »

I'm trying to back up my development projects and filtering out the node_modules folder.
What ends up happening is that the node_modules folder, alongside its subdirectories are copied but are empty.

Is there any way to avoid copying the node_modules folder and its subdirectories altogether?
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Empty folders in filtered subfolders

Post by cobian »

Add an exclusion mask of type *\node_modules\*.

And check Ignore empty directories in case you will delete those empty directories from the backup.
--
Luis Cobian
Cobian Backup's creator
lyichi
Posts: 2
Joined: 22 Jun 2022, 04:51

Re: Empty folders in filtered subfolders

Post by lyichi »

Unfortunately *\node_modules\* doesn't work and backs up the contents of node_modules anyway.

I have tried *\node_modules\*\ which does work and will not back up the contents of node_modules, but it creates tons of empty folders and subfolders which seems to take up some extra time when backing up.

Checking the ignore empty directories also doesn't seem to give the desired result.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Empty folders in filtered subfolders

Post by cobian »

Hmmm
--
Luis Cobian
Cobian Backup's creator
Post Reply