https://github.com/celeroncoder/scripts
Scripts to make my life easier.
https://github.com/celeroncoder/scripts
bash-script powershell-script scripts shell-script
Last synced: 7 months ago
JSON representation
Scripts to make my life easier.
- Host: GitHub
- URL: https://github.com/celeroncoder/scripts
- Owner: celeroncoder
- Created: 2022-02-08T16:53:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T17:36:36.000Z (almost 4 years ago)
- Last Synced: 2025-03-05T08:36:44.788Z (11 months ago)
- Topics: bash-script, powershell-script, scripts, shell-script
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scripts
Some useful scripts to make my life easier and run less commands.
## Guide
### Create Symbolic Link
Creates a Symbolic Link of a file in the current directory.
- *FileName*: creat_link.ps1
- *Permission*: Administrator privilege required for this operation.
- *Parameters*:
- target_path: full path of the target file.
**Usage**:
- Windows:
- Open up a powershell window with administrator privileges. You can use the following command to do so:
```powershell
Start-Process -FilePath "powershell" -Verb RunAs
```
- Run the command as following:
```powershell
.\create_link.ps1
```
- The `` needs to be the full path of the file you need to create symbolic link of in the current directory.
- Linux:
- Make sure you have powershell installed on the system.
- Make the script executrable as follows:
```bash
chmod +x ./create_link.ps1
```
- Run the script:
```bash
./create_link.ps1
```