Reputation
1,800
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
7 15
Newest
 Yearling
Impact
~217k people reached

  • 0 posts edited
  • 0 helpful flags
  • 57 votes cast
Jan
19
accepted bi-directional sync with rsync
Jan
19
comment bi-directional sync with rsync
Thanks, Mark. I was just about to answer my own question. I found very similar script called bsync (github.com/dooblem/bsync) basically it uses diff to figure out whats need to be sync. Since I am not expecting any conflicts in sync, I also modify this script a little so it run silently when runs with a cron job.
Jan
19
revised bi-directional sync with rsync
added 198 characters in body
Jan
19
comment bi-directional sync with rsync
I saw unison solution but the problem with that is I am required to install on both end. I am syncing with a remote and I can not install unison on the remote end.
Jan
18
asked bi-directional sync with rsync
Nov
8
awarded  Yearling
Aug
7
awarded  Popular Question
Jul
27
comment What does DISPLAY=:0.0 actually mean?
what port should be open if all the ports are block outbound from the server.
Jul
22
accepted How to realign a disk on logical volume with minimum to zero down time
Apr
17
awarded  Notable Question
Mar
5
awarded  Popular Question
Jan
26
comment Send email if user accesses the server via ssh
You can put a check in your bash script for external user by checking the output of w and do invert match for the external connection. your bash script should return fail and then do not execute the email alert. let me know if this make sense then I will propose detail answer
Dec
4
answered Odd Cygwin netstat output
Dec
3
comment DNS configuration in Solaris 10
looks OK you need to start the service at the end. are you getting any error?
Dec
3
comment Odd Cygwin netstat output
can you past the output of "which netstat"
Dec
3
awarded  Popular Question
Dec
1
awarded  Popular Question
Nov
12
comment Permissions depending on how you login: ssh/su/sudo
sudo access is maintained in /etc/sudoers where you decided who you want to give access to sudo. It is level of security that you want to set for your users. You can allow yourself via authorized_key or maybe more damage but remember there are logs to monitor these activities.
Nov
10
accepted How do I analyze report type of data in Bash?
Nov
8
awarded  Yearling