PDA

View Full Version : [all variants] Access to the Nautilus file copy instead of cp?



schworak
October 17th, 2010, 06:24 PM
I have a script that works ok for copying from one specific folder (or subfolders) to another specific folder. This is triggered from the Nautilus context menu. This all works very nice.

I would like to call the routine that Nautilus uses to copy files though so I get the friendly interface.

I want to pass the list of files to copy and the path to copy to.

I just don't know what command to call instead of cp to copy files and get the GUI interface that asks if I want to skip or replace when there is a file collision.

Anyone ever done this from a bash script?