You are not logged in.

#1 2010-10-02 13:38:28

kryptobs2000
Member
Registered: 2010-07-10
Posts: 14

rsync is running whenever I start a terminal, better way to do this?

I followed this article to run firefox in ram. rsync is setup to do it, I believe, through cron so that every x minutes it will save my profile back to the hard disk. I also set it up to run the same sript in my .bashrc. I'm not sure if the article said to do this or if I did it because firefox would not start until the script was run, meaning when I login I'd have to wait x minutes to use firefox which is obviously not acceptable. So now whenever I start a terminal session I get a printout from rsync, it's often 20+ lines long and pretty annoying; I'd like to get rid of it. Any suggestions?

Last edited by kryptobs2000 (2010-10-02 13:39:42)

Offline

#2 2010-10-02 13:41:43

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: rsync is running whenever I start a terminal, better way to do this?

From "man rsync" add "-q" to the rsync command in that firefox script to suppress non-error messages.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2010-10-02 19:42:31

kryptobs2000
Member
Registered: 2010-07-10
Posts: 14

Re: rsync is running whenever I start a terminal, better way to do this?

Perfect, much appreciated.

Offline

Board footer

Powered by FluxBB