build: file-tinder

Tinder style UI for clearing out files from Downloads/Desktop/<Any> folder

Right is keep, Left is delete, R is Rename, U for undo. O to open the file.

Use Cases -

  • Clear out Downloads folder(or specify the folder: file-tinder dir-name )
  • If you have Google Drive/Dropbox/OneDrive mounted, you could triage that too.

Try it yourself: brew install niraj8/tap/file-tinder

I pair this with organize to move files I decided to keep them organized into folders.

# Sample Rules from ~/.config/organize/config.yaml
rules:
  # Handled duplicate files
  - name: "Duplicate files (checksum)"
    locations: ~/Downloads
    subfolders: false
    filters:
      - duplicate:
          detect_original_by: created
          hash_algorithm: sha256
    actions:
      - trash

  # Trash Older files
  - name: "Installers older than 60 days"
    locations: ~/Downloads
    subfolders: false
    filters:
      - extension: [dmg, pkg, ipa]
      - lastmodified:
          days: 60
          mode: older
    actions:
      - trash

Source: https://github.com/niraj8/file-tinder