Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hamedfathi/dotnet-extract
A .NET global tool to extract embedded resource files from a .NET assembly.
https://github.com/hamedfathi/dotnet-extract
assembly command-line command-line-tool csharp dotnet embedded extract extractor global resource resources
Last synced: 3 months ago
JSON representation
A .NET global tool to extract embedded resource files from a .NET assembly.
- Host: GitHub
- URL: https://github.com/hamedfathi/dotnet-extract
- Owner: HamedFathi
- License: mit
- Created: 2021-02-16T04:51:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T17:58:42.000Z (10 months ago)
- Last Synced: 2024-05-02T05:05:02.113Z (8 months ago)
- Topics: assembly, command-line, command-line-tool, csharp, dotnet, embedded, extract, extractor, global, resource, resources
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
> Introducing **HamedStack**! For all my latest libraries, visit: [Explore HamedStack](https://github.com/HamedStack). Replacements and updates are available at the link. Thank you for your support! The new version of this library is accessible via [HamedStack.GlobalTool.Extract](https://github.com/HamedStack/HamedStack.GlobalTool.Extract)
---![extract_icon](https://user-images.githubusercontent.com/8418700/141079117-f3bfea84-3d9d-48fb-9303-7208e6f6cc8b.png)
## [Nuget](https://www.nuget.org/packages/dotnet-extract)
[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://opensource.org/licenses/MIT)
![Nuget](https://img.shields.io/nuget/v/dotnet-extract)
![Nuget](https://img.shields.io/nuget/dt/dotnet-extract)```bash
// install
dotnet tool install --global dotnet-extract// update
dotnet tool update dotnet-extract --global// uninstall
dotnet tool uninstall dotnet-extract --global
```## Options
| Option | Required | Description |
|------------------|:----------:|-------------|
|-s\|--source |Yes |The assemblies folder source path.|
|-d\|--destination|No |The destination folder path. If you do not specify a path, the files are extracted in the `current directory`.|
|-p\|--pattern |No |Pattern of the names of the resources you want to extract so you should write `regex` on full resource name like `RazorClassLibrary.Areas.Library.Pages.Shared._Message.cshtml`|
|-r\|--replace |No |Strategy how to replace files that already exist at the destination. default is `replace all`. Other available options are **ask\|a** and **skip\|s**.|
|-l\|--list |No |Get list of embedded resources. You can you regex pattern with this too.|
|-e\|--extension|No|You can define your custom undetectable file extensions. The value is comma separated like `.txt.dat,.mkv,.cshtml.cs`|## Usage
```bash
dotnet extract -s SOURCE_FOLDER -d DESTINATION_FOLDER -p .*Areas.* -r ask
```
Icon from https://www.iconfinder.com under Creative Commons Attribution-Share Alike 3.0 Unported License.