Skip to content

Tool for splitting text on the clipboard and joining by commas

Notifications You must be signed in to change notification settings

ynot729/clipboard-2-csl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clipboard to CSL (Comma Separated List)

I often copy a column of values from excel and I need to convert it into a comma separated list. Example:

5555
6666
7777
8888
9999

and need to paste it somewhere in the format 5555,6666,7777,8888,9999

This script grabs whatever is on the clipboard, splits it by new line characters \n and joins it by commas ,

Install

# clone repo localy
cd path/to/download
npm install
# make `clipboard-2-csv` executable
chmod +x clipboard-2-csv

Todo

  • Distribution step? .exe .dmg ?

Usage

  • Copy list from excel or anything that puts text into the clipboard sparated by new lines.
  • /PATH/TO/clipboard-2-csv (I have it as a shortcut)
  • Paste. What you past will be comma separated.

About

Tool for splitting text on the clipboard and joining by commas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published