Skip to content

anjyakind/dunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DUNK

DUNK is a cross-platform recycle bin manager written in Zig.

⚠️ Note: This project is a work in progress (WIP).

TABLE OF CONTENTS

FEATURES

  • Cross-platform recycle bin management
  • Remove files/folders to the recycle bin
  • Permanently delete trashed files
  • Restore trashed files to their original or custom location
  • List and filter files currently in the recycle bin
  • Library API for use in other Zig projects (Maybe)

REQUIREMENTS

  • Zig compiler v0.14.0 or higher

    I aim to keep the codebase up to date with the latest Zig compiler versions.


GETTING STARTED

  1. Clone this project:

    git clone https://github.com/anjyakind/dunk.git
    
  2. Navigate into the project:

cd dunk
  1. Build the project:
zig build
  1. The binary will be generated at:
./zig-out/bin/dunk

You can add this directory to your system PATH for easier access.

USAGE

DUNK provides the following subcommands.

REMOVE

Move a file or folder to the recycle bin:

dunk remove [files...]

DELETE

Permanently delete a file/folder from the recycle bin:

dunk delete [trashed_files]

RESTORE

Restore a trashed file/folder to its original location:

dunk restore [trashed_files]

Optionally restore to a custom directory with --dir:

dunk restore [trashed_files] --dir .

LIST

List files currently in the recycle bin:

dunk list

Filter files using wildcards:

dunk list -f file.*.txt

ROADMAP

  • Windows support

  • macOS support

  • Linux support (partial)

  • Configuration file for default behavior

  • Improved filtering and searching

  • Integration tests

  • Library support: expose DUNK’s core logic as a reusable Zig package (Maybe)

CONTRIBUTING

Contributions are welcome!

If you’d like to help improve DUNK, please fork the repository and submit a pull request.

LICENSE

This project is licensed under the MIT License.

About

Cross platform recycle bin manager written in zig

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages