row filter and row drop filter in same command

I’m trying to download a list of team folders that start with DSRB but don’t end with the words Current or Lounge. I have tried many commands, but no luck. Please can someone tell me what I am doing wrong?

gam config csv_output_row_filter “name:regex:’^DSRB'” csv_output_row_drop_filter “‘name:regex:’Current”,’name:regex:’Lounge”” redirect csv ./teamDrives.csv print teamdrives

gam config csv_output_row_filter “name:regex:’^DSRB'” csv_output_row_filter_mode allmatch csv_output_row_drop_filter “‘name:regex:’Current”,’name:regex:’Lounge”” redirect csv ./teamDrives.csv print teamdrives

I can drop either Current or Lounge using this, but I can’t figure out how to drop both:

gam config csv_output_row_filter “name:regex:’^DSRB'” csv_output_row_drop_filter “name:regex:’Current'” redirect csv ./teamDrives.csv print teamdrives

Thanks,

Yehuda

Read more here: Source link