Skip to content

Commit 2b9877b

Browse files
committed
Release 1.98.2025
1 parent 47aa48a commit 2b9877b

2 files changed

Lines changed: 77 additions & 54 deletions

File tree

GenXdev.FileSystem.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
RootModule = 'GenXdev.FileSystem.psm1'
88

99
# Version number of this module.
10-
ModuleVersion = '1.94.2025'
10+
ModuleVersion = '1.98.2025'
1111

1212
# ID used to uniquely identify this module
1313
GUID = '2f62080f-0483-4421-8497-b3d433b65171'

README.md

Lines changed: 76 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ Expand-Path --> ep
116116

117117
### SYNTAX
118118
````PowerShell
119-
Expand-Path [-FilePath] <String> [-CreateDirectory] [-CreateFile] [-DeleteExistingFile] [<CommonParameters>]
119+
Expand-Path [-FilePath] <String> [-CreateDirectory] [-CreateFile] [-DeleteExistingFile]
120+
[<CommonParameters>]
120121
````
121122

122123
### DESCRIPTION
@@ -173,7 +174,8 @@ Find-DuplicateFiles --> fdf
173174

174175
### SYNTAX
175176
````PowerShell
176-
Find-DuplicateFiles [-Paths] <String[]> [[-DontCompareSize]] [[-DontCompareModifiedDate]] [<CommonParameters>]
177+
Find-DuplicateFiles [-Paths] <String[]> [[-DontCompareSize]] [[-DontCompareModifiedDate]]
178+
[<CommonParameters>]
177179
````
178180

179181
### DESCRIPTION
@@ -225,8 +227,10 @@ Find-Item --> l
225227
### SYNTAX
226228
````PowerShell
227229
Find-Item [[-SearchMask] <String>] [-AllDrives] [-PassThru] [<CommonParameters>]
228-
Find-Item [[-SearchMask] <String>] [[-Pattern] <String>] [-AllDrives] [-PassThru] [<CommonParameters>]
229-
Find-Item [[-SearchMask] <String>] [-AllDrives] [-Directory] [-PassThru] [<CommonParameters>]
230+
Find-Item [[-SearchMask] <String>] [[-Pattern] <String>] [-AllDrives] [-PassThru]
231+
[<CommonParameters>]
232+
Find-Item [[-SearchMask] <String>] [-AllDrives] [-Directory] [-PassThru]
233+
[<CommonParameters>]
230234
````
231235

232236
### DESCRIPTION
@@ -284,15 +288,17 @@ Find-Item [[-SearchMask] <String>] [-AllDrives] [-Directory] [-PassThru] [<Commo
284288
````PowerShell
285289
Assuming c:\temp exists;
286290
'Find-Item c:\temp\'
287-
would search the whole content of directory 'temp' for any file or directory with the name 'temp'
291+
would search the whole content of directory 'temp' for any file or directory with
292+
the name 'temp'
288293
'Find-Item c:\temp'
289294
would search the whole C drive for any file or directory with the name 'temp'
290295
'Find-Item temp -AllDrives'
291296
would search the all drives for any file or directory with the name 'temp'
292297
so would:
293298
'Find-Item c:\temp -AllDrives'
294299
-------------------------- EXAMPLE 1 --------------------------
295-
PS C:\> # Find all files with the .txt extension in the current directory and its subdirectories
300+
PS C:\> # Find all files with the .txt extension in the current directory and its
301+
subdirectories
296302
Find-Item -SearchMask "*.txt"
297303
# or in short
298304
l *.txt
@@ -322,7 +328,8 @@ Find-Item -SearchMask "*.log" -AllDrives
322328
# or in short
323329
l *.log -all
324330
-------------------------- EXAMPLE 7 --------------------------
325-
PS C:\> # Find all files with the .config extension and search for the pattern "connectionString" within the files
331+
PS C:\> # Find all files with the .config extension and search for the pattern
332+
"connectionString" within the files
326333
Find-Item -SearchMask "*.config" -Pattern "connectionString"
327334
# or in short
328335
l *.config connectionString
@@ -345,7 +352,8 @@ Move-ItemWithTracking
345352

346353
### SYNTAX
347354
````PowerShell
348-
Move-ItemWithTracking [-Path] <String> [-Destination] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
355+
Move-ItemWithTracking [-Path] <String> [-Destination] <String> [-Force] [-WhatIf]
356+
[-Confirm] [<CommonParameters>]
349357
````
350358

351359
### DESCRIPTION
@@ -621,8 +629,8 @@ Rename-InProject --> rip
621629

622630
### SYNTAX
623631
````PowerShell
624-
Rename-InProject [[-Source] <String>] [-FindText] <String> [-ReplacementText] <String> [-WhatIf] [-Confirm]
625-
[<CommonParameters>]
632+
Rename-InProject [[-Source] <String>] [-FindText] <String> [-ReplacementText] <String>
633+
[-WhatIf] [-Confirm] [<CommonParameters>]
626634
````
627635

628636
### DESCRIPTION
@@ -689,37 +697,47 @@ Start-RoboCopy --> rc, xc
689697

690698
### SYNTAX
691699
````PowerShell
692-
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>] [-Mirror] [-Move]
693-
[-IncludeSecurity] [-SkipDirectories] [-CopyOnlyDirectoryTreeStructureAndEmptyFiles] [-SkipAllSymbolicLinks]
694-
[-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks] [-Force] [-SkipFilesWithoutArchiveAttribute]
695-
[-ResetArchiveAttributeAfterSelection] [-FileExcludeFilter <String[]>] [-AttributeIncludeFilter <String>]
696-
[-AttributeExcludeFilter <String>] [-SetAttributesAfterCopy <String>] [-RemoveAttributesAfterCopy <String>]
697-
[-MinFileSize <Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge <Int32>] [-MinLastAccessAge
698-
<Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode] [-MonitorModeThresholdMinutes <Int32>]
699-
[-MonitorModeThresholdNrOfChanges <Int32>] [-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>]
700-
[-LogFilePath <String>] [-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode] [-LargeFiles]
701-
[-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf] [<CommonParameters>]
702-
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>] [-Mirror] [-Move]
703-
[-IncludeSecurity] [-SkipEmptyDirectories] [-CopyOnlyDirectoryTreeStructure]
704-
[-CopyOnlyDirectoryTreeStructureAndEmptyFiles] [-SkipAllSymbolicLinks] [-SkipSymbolicFileLinks]
705-
[-CopySymbolicLinksAsLinks] [-SkipJunctions] [-CopyJunctionsAsJunctons] [-Force]
706-
[-SkipFilesWithoutArchiveAttribute] [-ResetArchiveAttributeAfterSelection] [-FileExcludeFilter <String[]>]
707-
[-DirectoryExcludeFilter <String[]>] [-AttributeIncludeFilter <String>] [-AttributeExcludeFilter <String>]
708-
[-SetAttributesAfterCopy <String>] [-RemoveAttributesAfterCopy <String>] [-MaxSubDirTreeLevelDepth <Int32>]
709-
[-MinFileSize <Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge <Int32>] [-MinLastAccessAge
710-
<Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode] [-MonitorModeThresholdMinutes <Int32>]
711-
[-MonitorModeThresholdNrOfChanges <Int32>] [-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>]
712-
[-LogFilePath <String>] [-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode] [-LargeFiles]
713-
[-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf] [<CommonParameters>]
700+
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>]
701+
[-Mirror] [-Move] [-IncludeSecurity] [-SkipDirectories]
702+
[-CopyOnlyDirectoryTreeStructureAndEmptyFiles] [-SkipAllSymbolicLinks]
703+
[-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks] [-Force]
704+
[-SkipFilesWithoutArchiveAttribute] [-ResetArchiveAttributeAfterSelection]
705+
[-FileExcludeFilter <String[]>] [-AttributeIncludeFilter <String>] [-AttributeExcludeFilter
706+
<String>] [-SetAttributesAfterCopy <String>] [-RemoveAttributesAfterCopy <String>]
707+
[-MinFileSize <Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge <Int32>]
708+
[-MinLastAccessAge <Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode]
709+
[-MonitorModeThresholdMinutes <Int32>] [-MonitorModeThresholdNrOfChanges <Int32>]
710+
[-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>] [-LogFilePath
711+
<String>] [-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode]
712+
[-LargeFiles] [-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf]
713+
[<CommonParameters>]
714+
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>]
715+
[-Mirror] [-Move] [-IncludeSecurity] [-SkipEmptyDirectories]
716+
[-CopyOnlyDirectoryTreeStructure] [-CopyOnlyDirectoryTreeStructureAndEmptyFiles]
717+
[-SkipAllSymbolicLinks] [-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks]
718+
[-SkipJunctions] [-CopyJunctionsAsJunctons] [-Force] [-SkipFilesWithoutArchiveAttribute]
719+
[-ResetArchiveAttributeAfterSelection] [-FileExcludeFilter <String[]>]
720+
[-DirectoryExcludeFilter <String[]>] [-AttributeIncludeFilter <String>]
721+
[-AttributeExcludeFilter <String>] [-SetAttributesAfterCopy <String>]
722+
[-RemoveAttributesAfterCopy <String>] [-MaxSubDirTreeLevelDepth <Int32>] [-MinFileSize
723+
<Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge <Int32>]
724+
[-MinLastAccessAge <Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode]
725+
[-MonitorModeThresholdMinutes <Int32>] [-MonitorModeThresholdNrOfChanges <Int32>]
726+
[-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>] [-LogFilePath
727+
<String>] [-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode]
728+
[-LargeFiles] [-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf]
729+
[<CommonParameters>]
714730
````
715731

716732
### DESCRIPTION
717733
Wrapper for Microsoft's Robust Copy Utility
718734
Copies file data from one location to another.
719-
Robocopy, for "Robust File Copy", is a command-line directory and/or file replication command for Microsoft
720-
Windows.
721-
Robocopy functionally replaces Xcopy, with more options. Created by Kevin Allen and first released as part of the
722-
Windows NT 4.0 Resource Kit, it has been a standard feature of Windows since Windows Vista and Windows Server 2008.
735+
Robocopy, for "Robust File Copy", is a command-line directory and/or file replication
736+
command for Microsoft Windows.
737+
Robocopy functionally replaces Xcopy, with more options. Created by Kevin Allen and first
738+
released as part of the
739+
Windows NT 4.0 Resource Kit, it has been a standard feature of Windows since Windows Vista
740+
and Windows Server 2008.
723741
Key features
724742
- Folder synchronization
725743
- Support for extra long pathnames > 256 characters
@@ -758,8 +776,8 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
758776
Aliases
759777
Accept wildcard characters? false
760778
-Mirror [<SwitchParameter>]
761-
Synchronizes the content of specified directories, will also delete any files and directories in the
762-
destination that do not exist in the source
779+
Synchronizes the content of specified directories, will also delete any files and
780+
directories in the destination that do not exist in the source
763781
Required? false
764782
Position? named
765783
Default value False
@@ -775,7 +793,8 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
775793
Aliases
776794
Accept wildcard characters? false
777795
-IncludeSecurity [<SwitchParameter>]
778-
Will also copy ownership, security descriptors and auditing information of files and directories
796+
Will also copy ownership, security descriptors and auditing information of files and
797+
directories
779798
Required? false
780799
Position? named
781800
Default value False
@@ -871,8 +890,8 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
871890
Aliases
872891
Accept wildcard characters? false
873892
-ResetArchiveAttributeAfterSelection [<SwitchParameter>]
874-
In addition of copying only files that have the archive attribute set, will then reset this attribute on the
875-
source
893+
In addition of copying only files that have the archive attribute set, will then reset
894+
this attribute on the source
876895
Required? false
877896
Position? named
878897
Default value False
@@ -952,35 +971,35 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
952971
Aliases
953972
Accept wildcard characters? false
954973
-MinFileAge <Int32>
955-
Skip files that are not at least: n days old OR created before n date (if n < 1900 then n = n days, else n =
956-
YYYYMMDD date)
974+
Skip files that are not at least: n days old OR created before n date (if n < 1900 then
975+
n = n days, else n = YYYYMMDD date)
957976
Required? false
958977
Position? named
959978
Default value -1
960979
Accept pipeline input? false
961980
Aliases
962981
Accept wildcard characters? false
963982
-MaxFileAge <Int32>
964-
Skip files that are older then: n days OR created after n date (if n < 1900 then n = n days, else n = YYYYMMDD
965-
date)
983+
Skip files that are older then: n days OR created after n date (if n < 1900 then n = n
984+
days, else n = YYYYMMDD date)
966985
Required? false
967986
Position? named
968987
Default value -1
969988
Accept pipeline input? false
970989
Aliases
971990
Accept wildcard characters? false
972991
-MinLastAccessAge <Int32>
973-
Skip files that are accessed within the last: n days OR before n date (if n < 1900 then n = n days, else n =
974-
YYYYMMDD date)
992+
Skip files that are accessed within the last: n days OR before n date (if n < 1900 then
993+
n = n days, else n = YYYYMMDD date)
975994
Required? false
976995
Position? named
977996
Default value -1
978997
Accept pipeline input? false
979998
Aliases
980999
Accept wildcard characters? false
9811000
-MaxLastAccessAge <Int32>
982-
Skip files that have not been accessed in: n days OR after n date (if n < 1900 then n = n days, else n =
983-
YYYYMMDD date)
1001+
Skip files that have not been accessed in: n days OR after n date (if n < 1900 then n =
1002+
n days, else n = YYYYMMDD date)
9841003
Required? false
9851004
Position? named
9861005
Default value -1
@@ -996,7 +1015,8 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
9961015
Aliases
9971016
Accept wildcard characters? false
9981017
-MonitorMode [<SwitchParameter>]
999-
Will stay active after copying, and copy additional changes after a a default threshold of 10 minutes
1018+
Will stay active after copying, and copy additional changes after a a default threshold
1019+
of 10 minutes
10001020
Required? false
10011021
Position? named
10021022
Default value False
@@ -1092,7 +1112,8 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
10921112
Aliases
10931113
Accept wildcard characters? false
10941114
-CompressibleContent [<SwitchParameter>]
1095-
If applicable use compression when copying files between servers to safe bandwidth and time
1115+
If applicable use compression when copying files between servers to safe bandwidth and
1116+
time
10961117
Required? false
10971118
Position? named
10981119
Default value False
@@ -1108,15 +1129,17 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
11081129
Remove parameter:
11091130
-Override -/Switch
11101131
Multiple overrides:
1111-
-Override "/ReplaceThisSwitchWithValue:'SomeValue' -/RemoveThisSwitch /AddThisSwitch"
1132+
-Override "/ReplaceThisSwitchWithValue:'SomeValue' -/RemoveThisSwitch
1133+
/AddThisSwitch"
11121134
Required? false
11131135
Position? 4
11141136
Default value
11151137
Accept pipeline input? false
11161138
Aliases
11171139
Accept wildcard characters? false
11181140
-WhatIf [<SwitchParameter>]
1119-
Displays a message that describes the effect of the command, instead of executing the command.
1141+
Displays a message that describes the effect of the command, instead of executing the
1142+
command.
11201143
Required? false
11211144
Position? named
11221145
Default value False

0 commit comments

Comments
 (0)