Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-19-2017, 07:41 PM   #1
Registered: Dec 2016
Posts: 74

Rep: Reputation: Disabled
Syntax Confusion adding command to Context menus Using Nautilus-Actions Config

I want to add another "Copy to" option to my context menus, besides Home Folder and Desktop, but I'm confused with how I write the command.

Starting with

cp -r {{path/to/folder}} {{path/to/copy}}

where {{path/to/folder}} would be the folder I'm

highlighting in the file manager, which will be different each time,

and {{path/to/copy}} is the new location.

How does nautilus-actions know that the highlighted folder is to be inserted between "cp -r" and "{{path/to/copy}}" in the command line ? Or how do I tell it that? Since I don't know how to look at the syntax of the existing "Copy to"

Last edited by PatD; 11-19-2017 at 07:54 PM. Reason: missed a word
Old 11-21-2017, 11:28 AM   #2
Registered: Dec 2016
Posts: 74

Original Poster
Rep: Reputation: Disabled
Still worling on the manual - can someone try to clarify the term "basename" for me?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set power button actions with shell command or config file gjeilers SUSE / openSUSE 5 06-02-2014 01:45 PM
Nautilus-actions adding new context menu traigo Linux - Software 3 07-09-2009 02:48 PM
LXer: Power context menus for Nautilus LXer Syndicated Linux News 0 10-22-2007 09:10 AM
LXer: Extending Nautilus context menus with Nautilus-actions LXer Syndicated Linux News 0 10-22-2007 05:30 AM
I want Applications and Actions menus in Gnome timelord726 Fedora 0 01-02-2005 08:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration