Skip to content

Commit 1ce03f4

Browse files
committed
Release 1.92.2025
1 parent 4d54e53 commit 1ce03f4

2 files changed

Lines changed: 41 additions & 80 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.84.2025'
10+
ModuleVersion = '1.90.2025'
1111

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

README.md

Lines changed: 40 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ Find-Item --> l
9797
### SYNTAX
9898
````PowerShell
9999
Find-Item [[-SearchMask] <String>] [-AllDrives] [-PassThru] [<CommonParameters>]
100-
Find-Item [[-SearchMask] <String>] [[-Pattern] <String>] [-AllDrives] [-PassThru]
101-
[<CommonParameters>]
102-
Find-Item [[-SearchMask] <String>] [-AllDrives] [-Directory] [-PassThru]
103-
[<CommonParameters>]
100+
Find-Item [[-SearchMask] <String>] [[-Pattern] <String>] [-AllDrives] [-PassThru] [<CommonParameters>]
101+
Find-Item [[-SearchMask] <String>] [-AllDrives] [-Directory] [-PassThru] [<CommonParameters>]
104102
````
105103

106104
### DESCRIPTION
@@ -165,8 +163,7 @@ Expand-Path [-FilePath] <String> [[-CreateDirectory]] [<CommonParameters>]
165163
````
166164

167165
### DESCRIPTION
168-
Expands any given file reference to a full pathname, with respect to the users current
169-
directory
166+
Expands any given file reference to a full pathname, with respect to the users current directory
170167

171168
### PARAMETERS
172169
-FilePath <String>
@@ -202,47 +199,30 @@ Start-RoboCopy --> rc, xc
202199

203200
### SYNTAX
204201
````PowerShell
205-
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>]
206-
[-Mirror] [-Move] [-IncludeSecurity] [-SkipDirectories]
207-
[-CopyOnlyDirectoryTreeStructureAndEmptyFiles] [-SkipAllSymbolicLinks]
208-
[-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks] [-Force]
209-
[-SkipFilesWithoutArchiveAttribute] [-ResetArchiveAttributeAfterSelection]
210-
[-FileExcludeFilter <String[]>] [-AttributeIncludeFilter <String>] [-AttributeExcludeFilter
211-
<String>] [-SetAttributesAfterCopy <String>] [-RemoveAttributesAfterCopy <String>]
212-
[-MinFileSize <Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge <Int32>]
213-
[-MinLastAccessAge <Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode]
214-
[-MonitorModeThresholdMinutes <Int32>] [-MonitorModeThresholdNrOfChanges <Int32>]
215-
[-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>] [-LogFilePath
216-
<String>] [-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode]
217-
[-LargeFiles] [-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf]
218-
[<CommonParameters>]
219-
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>]
220-
[-Mirror] [-Move] [-IncludeSecurity] [-SkipEmptyDirectories]
221-
[-CopyOnlyDirectoryTreeStructure] [-CopyOnlyDirectoryTreeStructureAndEmptyFiles]
222-
[-SkipAllSymbolicLinks] [-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks]
223-
[-SkipJunctions] [-CopyJunctionsAsJunctons] [-Force] [-SkipFilesWithoutArchiveAttribute]
224-
[-ResetArchiveAttributeAfterSelection] [-FileExcludeFilter <String[]>]
225-
[-DirectoryExcludeFilter <String[]>] [-AttributeIncludeFilter <String>]
226-
[-AttributeExcludeFilter <String>] [-SetAttributesAfterCopy <String>]
227-
[-RemoveAttributesAfterCopy <String>] [-MaxSubDirTreeLevelDepth <Int32>] [-MinFileSize
228-
<Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge <Int32>]
229-
[-MinLastAccessAge <Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode]
230-
[-MonitorModeThresholdMinutes <Int32>] [-MonitorModeThresholdNrOfChanges <Int32>]
231-
[-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>] [-LogFilePath
232-
<String>] [-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode]
233-
[-LargeFiles] [-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf]
202+
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>] [-Mirror] [-Move] [-IncludeSecurity] [-SkipDirectories]
203+
[-CopyOnlyDirectoryTreeStructureAndEmptyFiles] [-SkipAllSymbolicLinks] [-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks] [-Force]
204+
[-SkipFilesWithoutArchiveAttribute] [-ResetArchiveAttributeAfterSelection] [-FileExcludeFilter <String[]>] [-AttributeIncludeFilter <String>]
205+
[-AttributeExcludeFilter <String>] [-SetAttributesAfterCopy <String>] [-RemoveAttributesAfterCopy <String>] [-MinFileSize <Int32>] [-MaxFileSize <Int32>]
206+
[-MinFileAge <Int32>] [-MaxFileAge <Int32>] [-MinLastAccessAge <Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode] [-MonitorModeThresholdMinutes
207+
<Int32>] [-MonitorModeThresholdNrOfChanges <Int32>] [-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>] [-LogFilePath <String>]
208+
[-LogfileOverwrite] [-LogDirectoryNames] [-LogAllFileNames] [-Unicode] [-LargeFiles] [-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf]
234209
[<CommonParameters>]
210+
Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <String[]>] [-Mirror] [-Move] [-IncludeSecurity] [-SkipEmptyDirectories]
211+
[-CopyOnlyDirectoryTreeStructure] [-CopyOnlyDirectoryTreeStructureAndEmptyFiles] [-SkipAllSymbolicLinks] [-SkipSymbolicFileLinks] [-CopySymbolicLinksAsLinks]
212+
[-SkipJunctions] [-CopyJunctionsAsJunctons] [-Force] [-SkipFilesWithoutArchiveAttribute] [-ResetArchiveAttributeAfterSelection] [-FileExcludeFilter <String[]>]
213+
[-DirectoryExcludeFilter <String[]>] [-AttributeIncludeFilter <String>] [-AttributeExcludeFilter <String>] [-SetAttributesAfterCopy <String>]
214+
[-RemoveAttributesAfterCopy <String>] [-MaxSubDirTreeLevelDepth <Int32>] [-MinFileSize <Int32>] [-MaxFileSize <Int32>] [-MinFileAge <Int32>] [-MaxFileAge
215+
<Int32>] [-MinLastAccessAge <Int32>] [-MaxLastAccessAge <Int32>] [-RecoveryMode] [-MonitorMode] [-MonitorModeThresholdMinutes <Int32>]
216+
[-MonitorModeThresholdNrOfChanges <Int32>] [-MonitorModeRunHoursFrom <Int32>] [-MonitorModeRunHoursUntil <Int32>] [-LogFilePath <String>] [-LogfileOverwrite]
217+
[-LogDirectoryNames] [-LogAllFileNames] [-Unicode] [-LargeFiles] [-MultiThreaded] [-CompressibleContent] [[-Override] <String>] [-WhatIf] [<CommonParameters>]
235218
````
236219

237220
### DESCRIPTION
238221
Wrapper for Microsoft's Robust Copy Utility
239222
Copies file data from one location to another.
240-
Robocopy, for "Robust File Copy", is a command-line directory and/or file replication
241-
command for Microsoft Windows.
242-
Robocopy functionally replaces Xcopy, with more options. Created by Kevin Allen and first
243-
released as part of the
244-
Windows NT 4.0 Resource Kit, it has been a standard feature of Windows since Windows Vista
245-
and Windows Server 2008.
223+
Robocopy, for "Robust File Copy", is a command-line directory and/or file replication command for Microsoft Windows.
224+
Robocopy functionally replaces Xcopy, with more options. Created by Kevin Allen and first released as part of the
225+
Windows NT 4.0 Resource Kit, it has been a standard feature of Windows since Windows Vista and Windows Server 2008.
246226
Key features
247227
- Folder synchronization
248228
- Support for extra long pathnames > 256 characters
@@ -278,8 +258,7 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
278258
Accept pipeline input? false
279259
Accept wildcard characters? false
280260
-Mirror [<SwitchParameter>]
281-
Synchronizes the content of specified directories, will also delete any files and
282-
directories in the destination that do not exist in the source
261+
Synchronizes the content of specified directories, will also delete any files and directories in the destination that do not exist in the source
283262
Required? false
284263
Position? named
285264
Default value False
@@ -293,8 +272,7 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
293272
Accept pipeline input? false
294273
Accept wildcard characters? false
295274
-IncludeSecurity [<SwitchParameter>]
296-
Will also copy ownership, security descriptors and auditing information of files and
297-
directories
275+
Will also copy ownership, security descriptors and auditing information of files and directories
298276
Required? false
299277
Position? named
300278
Default value False
@@ -378,8 +356,7 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
378356
Accept pipeline input? false
379357
Accept wildcard characters? false
380358
-ResetArchiveAttributeAfterSelection [<SwitchParameter>]
381-
In addition of copying only files that have the archive attribute set, will then reset
382-
this attribute on the source
359+
In addition of copying only files that have the archive attribute set, will then reset this attribute on the source
383360
Required? false
384361
Position? named
385362
Default value False
@@ -449,32 +426,28 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
449426
Accept pipeline input? false
450427
Accept wildcard characters? false
451428
-MinFileAge <Int32>
452-
Skip files that are not at least: n days old OR created before n date (if n < 1900 then
453-
n = n days, else n = YYYYMMDD date)
429+
Skip files that are not at least: n days old OR created before n date (if n < 1900 then n = n days, else n = YYYYMMDD date)
454430
Required? false
455431
Position? named
456432
Default value -1
457433
Accept pipeline input? false
458434
Accept wildcard characters? false
459435
-MaxFileAge <Int32>
460-
Skip files that are older then: n days OR created after n date (if n < 1900 then n = n
461-
days, else n = YYYYMMDD date)
436+
Skip files that are older then: n days OR created after n date (if n < 1900 then n = n days, else n = YYYYMMDD date)
462437
Required? false
463438
Position? named
464439
Default value -1
465440
Accept pipeline input? false
466441
Accept wildcard characters? false
467442
-MinLastAccessAge <Int32>
468-
Skip files that are accessed within the last: n days OR before n date (if n < 1900 then
469-
n = n days, else n = YYYYMMDD date)
443+
Skip files that are accessed within the last: n days OR before n date (if n < 1900 then n = n days, else n = YYYYMMDD date)
470444
Required? false
471445
Position? named
472446
Default value -1
473447
Accept pipeline input? false
474448
Accept wildcard characters? false
475449
-MaxLastAccessAge <Int32>
476-
Skip files that have not been accessed in: n days OR after n date (if n < 1900 then n =
477-
n days, else n = YYYYMMDD date)
450+
Skip files that have not been accessed in: n days OR after n date (if n < 1900 then n = n days, else n = YYYYMMDD date)
478451
Required? false
479452
Position? named
480453
Default value -1
@@ -488,8 +461,7 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
488461
Accept pipeline input? false
489462
Accept wildcard characters? false
490463
-MonitorMode [<SwitchParameter>]
491-
Will stay active after copying, and copy additional changes after a a default threshold
492-
of 10 minutes
464+
Will stay active after copying, and copy additional changes after a a default threshold of 10 minutes
493465
Required? false
494466
Position? named
495467
Default value False
@@ -573,8 +545,7 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
573545
Accept pipeline input? false
574546
Accept wildcard characters? false
575547
-CompressibleContent [<SwitchParameter>]
576-
If applicable use compression when copying files between servers to safe bandwidth and
577-
time
548+
If applicable use compression when copying files between servers to safe bandwidth and time
578549
Required? false
579550
Position? named
580551
Default value False
@@ -589,16 +560,14 @@ Start-RoboCopy [-Source] <String> [[-DestinationDirectory] <String>] [[-Files] <
589560
Remove parameter:
590561
-Override -/Switch
591562
Multiple overrides:
592-
-Override "/ReplaceThisSwitchWithValue:'SomeValue' -/RemoveThisSwitch
593-
/AddThisSwitch"
563+
-Override "/ReplaceThisSwitchWithValue:'SomeValue' -/RemoveThisSwitch /AddThisSwitch"
594564
Required? false
595565
Position? 4
596566
Default value
597567
Accept pipeline input? false
598568
Accept wildcard characters? false
599569
-WhatIf [<SwitchParameter>]
600-
Displays a message that describes the effect of the command, instead of executing the
601-
command.
570+
Displays a message that describes the effect of the command, instead of executing the command.
602571
Required? false
603572
Position? named
604573
Default value False
@@ -622,15 +591,12 @@ Rename-InProject --> rip
622591

623592
### SYNTAX
624593
````PowerShell
625-
Rename-InProject [[-Source] <String>] [-FindText] <String> [-ReplacementText] <String>
626-
[-WhatIf] [<CommonParameters>]
594+
Rename-InProject [[-Source] <String>] [-FindText] <String> [-ReplacementText] <String> [-WhatIf] [<CommonParameters>]
627595
````
628596

629597
### DESCRIPTION
630-
Performs a rename action throughout a project folder. It will skip .git and .svn folders,
631-
images, archives and other common known binaries.
632-
But will rename within other files, like sourcecode, json, html, etc, AND folders and
633-
filenames!
598+
Performs a rename action throughout a project folder. It will skip .git and .svn folders, images, archives and other common known binaries.
599+
But will rename within other files, like sourcecode, json, html, etc, AND folders and filenames!
634600
Always perform a -WhatIf operation first, to validate the actions it will take.
635601

636602
### PARAMETERS
@@ -656,8 +622,7 @@ Rename-InProject [[-Source] <String>] [-FindText] <String> [-ReplacementText] <S
656622
Accept pipeline input? false
657623
Accept wildcard characters? false
658624
-WhatIf [<SwitchParameter>]
659-
Displays a message that describes the effect of the command, instead of executing the
660-
command.
625+
Displays a message that describes the effect of the command, instead of executing the command.
661626
Required? false
662627
Position? named
663628
Default value False
@@ -673,8 +638,7 @@ Rename-InProject [[-Source] <String>] [-FindText] <String> [-ReplacementText] <S
673638
````PowerShell
674639
Be carefull, use -WhatIf
675640
-------------------------- EXAMPLE 1 --------------------------
676-
PS C:\> Rename-InProject -Source .\src\*.js -FindText "tsconfig.json" - ReplacementText
677-
"typescript.configuration.json"
641+
PS C:\> Rename-InProject -Source .\src\*.js -FindText "tsconfig.json" - ReplacementText "typescript.configuration.json"
678642
Rename-InProject .\src\ "MyCustomClass" "MyNewRenamedClass" -WhatIf
679643
````
680644

@@ -694,8 +658,7 @@ Remove-AllItems [-Path] <String> [-DeleteFolder] [-WhatIf] [<CommonParameters>]
694658
````
695659

696660
### DESCRIPTION
697-
This function removes all files and folders in the specified directory. The directory path
698-
is first expanded using the Expand-Path function.
661+
This function removes all files and folders in the specified directory. The directory path is first expanded using the Expand-Path function.
699662

700663
### PARAMETERS
701664
-Path <String>
@@ -713,8 +676,7 @@ Remove-AllItems [-Path] <String> [-DeleteFolder] [-WhatIf] [<CommonParameters>]
713676
Accept pipeline input? false
714677
Accept wildcard characters? false
715678
-WhatIf [<SwitchParameter>]
716-
Displays a message that describes the effect of the command, instead of executing the
717-
command.
679+
Displays a message that describes the effect of the command, instead of executing the command.
718680
Required? false
719681
Position? named
720682
Default value False
@@ -738,8 +700,7 @@ Find-DuplicateFiles
738700

739701
### SYNTAX
740702
````PowerShell
741-
Find-DuplicateFiles [-Paths] <String[]> [-DontCompareSize] [-DontCompareModifiedDate]
742-
[<CommonParameters>]
703+
Find-DuplicateFiles [-Paths] <String[]> [-DontCompareSize] [-DontCompareModifiedDate] [<CommonParameters>]
743704
````
744705

745706
### DESCRIPTION

0 commit comments

Comments
 (0)