https://github.com/colinwilliams91/scripts
https://github.com/colinwilliams91/scripts
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/colinwilliams91/scripts
- Owner: colinwilliams91
- Created: 2024-01-04T21:57:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-01T06:07:17.000Z (10 months ago)
- Last Synced: 2025-01-07T22:46:29.816Z (6 months ago)
- Language: PowerShell
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - colinwilliams91/scripts - (PowerShell)
README
# Summary:
These are helpful scripts I have developed. Mostly Powershell but some Bash.## `split-file` & `converge-files` Use:
If you have a file, such as a `.zip` that exceeds the max size of your mode of transfer (such as email @ 25mb or something...):### To Use:
1. Make sure the directory you clone these scripts into is in your PATH, else, you will need to invoke with full path to file
2. Sender Runs:
- `split-file.ps1 -inFile "C:\path\to\your\file.zip" -buffSize 4MB`
- the out files will be named "1", "2", "3", ... to the current working directory
- you can pass whatever `-buffSize` you need for your file (e.g. `-buffSize 100KB`)
3. Recipient Runs:
- `.\converge-files.ps1 -outFile "reassembled_file.zip" -buffSize 4MB`
- this will search the current working directory, matching filenames that are incrementing digits
- you should pass the same `-buffSize` arg as you did to `split-file` for best results (resembling orig file)