You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{// ...
sourceDir: 'path/to/csv/files'
ignorePatterns: ['file-name-to-ignore.csv',// specify a file by its file name'^pattern-to-ignore_\\d{8}.csv$'// or exclude files based on regular expression]}
Settings this option will exclude matching CSV files in sourceDir from the csv2gsheets process.
The pattern could be a specific file name or a JavaScript regular expression to denote a set of files.
In the above example, note that the backslash in \d is escaped, i.e., \\d. Regular expressions should be written as if one is using it for the RegExp() constructor.
The text was updated successfully, but these errors were encountered:
Add the
ignorePatterns
option toc2g.config.json
:Settings this option will exclude matching CSV files in
sourceDir
from the csv2gsheets process.The pattern could be a specific file name or a JavaScript regular expression to denote a set of files.
In the above example, note that the backslash in
\d
is escaped, i.e.,\\d
. Regular expressions should be written as if one is using it for theRegExp()
constructor.The text was updated successfully, but these errors were encountered: