1

My problem is how can I exclude the folder PDF from recycle (/home/*/PDF)?
I have tested to exclude PDF;PDF/;/home/*/PDF... Nothing works.

[homes]
    comment = Home Directories
    browseable = no
    vfs objects = recycle
    recycle:keeptree = yes
    ....
    recycle:exclude_dir     = PDF/
Glorfindel
  • 1,213
  • 4
  • 15
  • 22

2 Answers2

0

using %S (username) or using the name of the users, but

recycle:repository = /home/%S/.recycle

works 100%

Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89
0

recycle:exclude_dir = /home/'user'/PDF/*

  • EDIT: (recycle:exclude_dir = /home/'user'/PDF/*) only works for directories in you PDF folder. (recycle:exclude_dir = /home/'user'/PDF) should do the trick. – Anonymous Jun 22 '19 at 10:43