Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 400 Bytes

MoveFile.md

File metadata and controls

12 lines (10 loc) · 400 Bytes

Move a file to another location

Use to move a file to another location, this is nifty to organize build and sign artifacts. The path must be absolute and contains file name and extension.

MoveFile {
    $0.move(
        from: Directory.downloads.appendingPathComponent("cert.md").path,
        to: Directory.downloads.appendingPathComponent("ProductionCertificate.md").path 
    )
}