Skip to content

Commit

Permalink
feat: improve default ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Sep 21, 2024
1 parent 2820c97 commit a134744
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@filen/sync",
"version": "0.1.69",
"version": "0.1.70",
"description": "Filen Sync",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
31 changes: 20 additions & 11 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,26 @@ export const DEFAULT_IGNORED = {
],
extensions: [".tmp", ".temp", ".ffs_tmp", ".temporary", ".crdownload", ".~cr", ".thumbdata"],
absoluteGlobs: [
"C:/$WINDOWS.~BT/**/*",
"C:/$Windows.~WS/**/*",
"C:/$WinREAgent/**/*",
"C:/Windows/**/*",
"C:/OneDriveTemp/**/*",
"C:/PerfLogs/**/*",
"C:/ProgramData/**/*",
"C:/Program Files/**/*",
"C:/Program Files (x86)/**/*",
"*:/$WINDOWS.~BT/**/*",
"*:/$RECYCLE.BIN/**/*",
"*:/$Windows.~WS/**/*",
"*:/$WinREAgent/**/*",
"*:/Windows/**/*",
"*:/OneDriveTemp/**/*",
"*:/PerfLogs/**/*",
"*:/ProgramData/**/*",
"*:/Program Files/**/*",
"*:/Program Files (x86)/**/*",
"/share/Trash/**/*",
"C:/Users/*/AppData/**/*"
"*:/Users/*/AppData/**/*",
"*:/System Volume Information/**/*"
],
relativeGlobs: [".filen.trash.local/**/*", "$RECYCLE.BIN/**/*", ".Trash/**/*", ".local/share/Trash/**/*", "local/share/Trash/**/*"]
relativeGlobs: [
".filen.trash.local/**/*",
"$RECYCLE.BIN/**/*",
".Trash/**/*",
".local/share/Trash/**/*",
"local/share/Trash/**/*",
"System Volume Information/**/*"
]
}

0 comments on commit a134744

Please sign in to comment.