On windows ( Powertoys?!) i used it very often and missed it for Linux:
Copy selected files to string usable as command line argument.
Example:
"/home/john1/.local/share/nemo/scripts/Queue in Audacious" "/home/john1/.local/share/nemo/scripts/Scan with Avast"
As you see, long filenames will be ok
its just a one line script
Edit: 11.10.17 uses single quotes 'PathAndName'
Code: Select all
#!/bin/bash
# Powertoys "copy as name" nachahmen, geht auch mit langen Dateinamen
# single Quotes
copyq copy -- "$(echo -en "$NEMO_SCRIPT_SELECTED_FILE_PATHS" |sed -e 's/^\|$/'\''/g' | tr '\n' ' ' )"
Make it executable
Goto Nemo edit/plugins
Right listbox
Check it
Select some files, right click srcipts/Copy_filenames
Paste it for example to terminal: gedit + paste
Really great copyq need to be installed!!!
Code: Select all
deb http://ppa.launchpad.net/hluk/copyq/ubuntu xenial main
deb-src http://ppa.launchpad.net/hluk/copyq/ubuntu xenial main
I could not write a sript thta handles all xcopy ...
Hope its useful ...
... have to learn which files can be attached: no scripts no *.list !!!
Ok, next solution: open terminal besides nemo and drag'n drop selected files to terminal ... bat that's much to easy, i wanted the srcipt