Skip to content

Commit f198d43

Browse files
authored
Fix numbering and update exclusion command examples
1 parent 9d04d63 commit f198d43

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

articles/storage/file-sync/file-sync-how-to-manage-tiered-files.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,13 @@ To exclude files or folders from cloud tiering, perform the following steps:
7575
To exclude all files under a folder from tiering (for example, D:\ShareRoot\Folder\SubFolder), run the following command:
7676
**reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure\StorageSync" /v GhostingExclusionList /t REG_SZ /d D:\\\\ShareRoot\\\\Folder\\\\SubFolder /f**
7777

78+
To exclude all files under a folder having one or more of these characters from tiering (for example, D:\ShareRoot\+$Folder\() SubFolder), run the following command:
79+
**reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure\StorageSync" /v GhostingExclusionList /t REG_SZ /d D:\\ShareRoot\\\+\$Folder\\\(\)SubFolder /f**
80+
7881
To exclude a combination of file names, file extensions and folders from tiering (for example, D:\ShareRoot\Folder1\SubFolder1,FileName.log,.txt), run the following command:
7982
**reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure\StorageSync" /v GhostingExclusionList /t REG_SZ /d D:\\\\ShareRoot\\\\Folder1\\\\SubFolder1|FileName.log|.txt /f**
8083

81-
3. For the cloud tiering exclusions to take effect, you must restart the Storage Sync Agent service (FileSyncSvc) by running the following commands:
84+
4. For the cloud tiering exclusions to take effect, you must restart the Storage Sync Agent service (FileSyncSvc) by running the following commands:
8285
**net stop filesyncsvc**
8386
**net start filesyncsvc**
8487

0 commit comments

Comments
 (0)