# raw **Repository Path**: yzhrex/raw ## Basic Information - **Project Name**: raw - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-19 - **Last Updated**: 2023-05-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 说明 该仓库用于存储一些文本文件,方便直接单独下载使用,而不用对整个仓库进行克隆. ## 使用 ### PowerShell ```PowerShell Invoke-WebRequest -Uri "https://gitee.com/yzhrex/raw/raw/master/variable" | ForEach-Object { $name, $value = $_.Split('='); $env:$name = $value } ``` 如需重命名添加 -OutFile ```bash cd curl -Uri $env:remote_file/ [ -OutFile "rename" ] ``` ### linux shell ```bash curl -sL https://gitee.com/yzhrex/raw/raw/master/variable >> ~/.bashrc sed -i 's/\r//g' ~/.bashrc ``` 需要重命名,把O替换成 -o new_name ```bash cd curl -sLO $remote_file/ ```