💯
TIL
  • TIL
  • Different options for doing LLM inference
  • Generate Subtitles locally using whisper
  • Compressing images from the CLI
  • Running parallel Ollama inference
  • Fetching Train availability in IRCTC
  • Changing Git Commit Email Address
  • Clone any website to local using Httrack
  • Adding Drag drop from terminal in Mac OS
  • Minimum Effort
    • YouTube Transcript Formatter
    • Virtual Talking AI companion to help out in tough times
    • Super fast voice based translation system
  • Proud Memories
    • Conducting an LLM Workshop
    • Honours degree from Education Minister
    • GIDS Conference Participant from TW
    • Speaking at MEC.Conf
    • Being a judge at Hack4Tomorrow hackathon
Powered by GitBook
On this page
  • Steps to install:
  • Usage:
  • Bonus

Was this helpful?

Edit on GitHub

Adding Drag drop from terminal in Mac OS

Easy way to drag and drop from terminal to anywhere else in Mac OS

PreviousClone any website to local using HttrackNextYouTube Transcript Formatter

Last updated 1 year ago

Was this helpful?

Use this cool tool:

Steps to install:

  1. git clone the above repo

  2. cd dragterm

  3. brew install cocoapods

  4. g++ DTDraggingSourceView.m main.m -framework Cocoa -o drag

  5. Add the folder to PATH

export PATH="<your drag term folder path>:$PATH"

Usage:

drag <filename>

Bonus

If you are using ranger or some other CLI based file manager, you can easily add support to dragging from terminal using dragterm with a key-map as follows:

map <C-d> shell drag %p

Paste the above to .config/ranger/rc.conf to map ctrl+d to drag a file from ranger

GitHub - Wevah/dragterm: Drag files from the command line on macOSGitHub
Logo