Help us shape the future of Go! Take the 2026 Go Developer Survey

dirsort

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 6 Imported by: 0

README

Dirsort

Simple application that moves files to different folders based on their types.

How to use

Download from here and extract.

Windows

To apply mapping configuration, drag and drop config.yaml to dirsort.exe. To sort needed folder, drag and drop it to dirsort.exe

Or... you may use Linux way.

Linux and macOS

To apply mapping configuration, run:

./dirsort config.yaml

To sort folder, run:

./dirsort /path/to/directory

Example configuration

config.yaml should have the following structure:

mapping:
    folder: [ext, ext2]
    # Or like this
    folder:
        - ext
        - ext2
    # The relative path is also supported
    ../folder: [ext, ext2, ext3]
    # The ~ symbol means the user's home directory
    ~/folder: [ext]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL