Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Ok I am in the process of backing up my film collection to a NAS and I wanted to automate this as much as possible as I have to work at the same time. I am trying to setup a daily dump of ISO's ready to be converted overnight. I would like to do this as a cron job using gnomevfs. I have been able to connect and do an ls command successfully with

gnomevfs-ls smb://user:WORKGROUP:password@media-centre/videos/

but I am having trouble setting up a mv command from a local folder to the same shared folder keep getting the Usage: gnomevfs-mv <from> <to> quote which isn't particularly informative ;)

any ideas?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

gnomevfs is deprecated, you should use gvfs instead.

To move a file :

gvfs-mount smb://user:WORKGROUP:password@server/directory
gvfs-move file smb://server/directory/file
share|improve this answer
    
is there any way to do this for multiple files of a single type eg *.txt or *.iso etc –  Allan Feb 9 '11 at 1:08
    
This is not working for me. When I use the gvfs-mount line, it still prompts for Domain and Password. And then no matter what I enter, it doesn't accept it. –  UrkoM Aug 16 '12 at 10:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.