Skip to content

Commit

Permalink
2023-01-01 03:14:16
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Jan 1, 2023
1 parent e7d761d commit efe9b52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions directory.ps1
@@ -0,0 +1,9 @@
function Copy-Directory() {
<#
.SYNOPSIS
Copying directory and contents to a new directory.
.DESCRIPTION
#>

Copy-Item -Path "C:\Dir_OLD" -Destination "C:\Dir_NEW\Logs" -Recurse
}
10 changes: 0 additions & 10 deletions file.ps1
Expand Up @@ -112,13 +112,3 @@ function Copy-File() {
Copy-Item -Path "C:\Dir_OLD\*" -Destination "C:\Dir_NEW" -Recurse

}

function Copy-Directory() {
<#
.SYNOPSIS
Copying directory and contents to a new directory.
.DESCRIPTION
#>

Copy-Item -Path "C:\Dir_OLD" -Destination "C:\Dir_NEW\Logs" -Recurse
}

0 comments on commit efe9b52

Please sign in to comment.