General :: How Does Rsync Behave When Synchronizing

Nov 24, 2010

I have a file in a directory mysite/a.php on machine A and machine B. The files will not have any difference initially.On machine A if a.php is changed and then when a sync is done from machine B to A, will a.php have the change or will it be overwritten? What about directories?

View 1 Replies


ADVERTISEMENT

General :: Cat Command To Behave Like More Or Less?

Apr 16, 2011

is there any way by which the cat command can be made to behave like less or more?i.e when less or more used with a text file as argument, will display the file 1 page at a time, allowing us to navigate through the file.So any way for cat to display the file 1 page at a time?P.S : I don't want to pipe the output of cat to less or more.

View 11 Replies View Related

General :: Making The SHIFT Key Behave Like That Of Andriod - IOS

May 17, 2011

I want to disable the CAPS LOCK key and replace it by pressing SHIFT twice in quick successions (like you do in Android and iOS devices). Disabling the Caps Lock key is easy using xmodmap but is it possible to do what I want to do with the SHIFT key?

View 1 Replies View Related

General :: Substitute For Nokia PC Suite Or Synchronizing Data From A Nokia Phone

Apr 1, 2011

I was looking for a way to get the same or similar functionality as the Nokia PC Suite on Ubuntu 10.04. I did find a discussion here [url].

However it is fairly old (2008). I was wondering if it is possible to get more recent information.

In the Ubuntu Software Center I find two applications that seem to fit the bill. I need to know which is better or are the complimentary.

View 3 Replies View Related

General :: Make Zsh Completion Behave Like Bash Completion?

Jun 2, 2010

I switched to zsh, but I dislike the completion. If I have 20 files, each with a shared prefix, on pressing tab, zsh will fully complete the first file, then continue going through the list with each press of tab. If I want one near the end, I would have to press tab many times.

In bash, this was simple - press tab and I would get the prefix. If I continued typing (and pressing tab), bash would complete as far as it could be certain of. I find this behavior to be much more intuitive but prefer the other features of zsh to bash.

Is there a way to get this style of completion? Google suggested setopt bash_autolist, but this had no effect for me (and no error message was printed upon starting my shell).

View 1 Replies View Related

Ubuntu One :: Synchronizing Forever But Nothing Happens?

Oct 23, 2010

Am I the only person who can't get ubuntu one working properly?1) if I right-click a folder and ask to synchronize it to ubuntu one, there is absolutely no feedback at all (nothing seems to be synchronized, no icons are added to the folder, no progress bar, nothing).2) if I open the Ubuntu one preferences, it states "synchronizing in progress", and it keeps doing that. again; no progress, no icons, no nothing.Disconnecting reconnecting doesn't seem to matter.Rebooting (I know, I was desperate..) doesn't seem to matter.How do you guys manage to use this. I mean, the interface of ubuntu one is pretty clean, so there is not much to configure, which is good, if it would work out of the box .

View 1 Replies View Related

Ubuntu One :: Can't Stop Synchronizing Folder?

Apr 30, 2010

I installed 10.04 today and while messing around with it I decided to try syncing a folder. While it worked and the file in it was uploaded and removed when deleted I can't stop syncing the folder.

View 6 Replies View Related

Ubuntu :: Synchronizing Settings Between Computers?

Oct 11, 2010

Is it possible to syncronize certain settings in ubuntu between several computers, such that when I change them on one they change on all?If not, is it possible to at least use the settings of one computer as the initial settings of another?These are the settings I am interested in:

- Keyboard shortcuts

- Compiz settings

- Statusbar configuration

- Theme

View 3 Replies View Related

Programming :: Synchronizing PortAudio Sound With GUI?

Apr 30, 2011

I'm writing an application that uses PortAudio to generate sound. I need to synchronize certain GUI changes with the sound stream. The callback function receives a struct PaStreamCallbackTimeInfo that seems to have the timing information I need, but there's no documentation on what the various fields mean. Through experimentation, I've found that the currentTime field is the time that the callback was called (in retrospect, that seems pretty obvious), but what do the inputBufferAdcTime and outputBufferDacTime fields mean?

(Actually, PortAudio calls the callback fast enough that I could just use the currentTime to get the synchronization close enough, but still... it's the principle of the thing.)

View 1 Replies View Related

Fedora :: NTP - Synchronizing With Time Server Failed

Apr 9, 2010

I am trying to synchronize the time of a PC using NTP using a server on LAN. Both the PCs do not have internet. I have made changes to the /etc/ntp.conf file of both the server and client . But still on rebooting is shows Synchronizing with time server failed. I am attaching the ntp.conf file of both server and client.

View 13 Replies View Related

Programming :: How To Make G++ Behave Like Gcc

Mar 15, 2010

I am compiling some c++ code trying to connect it with libi2cbrdg.a library where I have a lot of functions. So when I am doing this gcc -g rand.c -lasound -li2cbrdg -o rand.I don't have missed functions instead I have some other C/C++ connected errors, when I am using g++ compiler like this g++ -g rand.c -lasound -li2cbrdg -o rand.it does not see functions inside that library but everything fine with c++ code.How can I make g++ behave like gcc in this case?

View 2 Replies View Related

Server :: Synchronizing /etc/hosts Files Across Multiple Servers?

Jun 16, 2011

I have 16 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS are not alternatives. Aside from manually editing each of the 16+ /etc/hosts files every time I add a server or editing one /etc/hosts file on one server then scp'ing it to all the other servers, is there anyway to edit the /etc/hosts on one server and "push" it onto the other servers that need the new /etc/hosts file?

Everywhere I've looked on the Net, there hasn't been any suggestion except for the options I mention here.

Or am I just whistling in the wind?

View 6 Replies View Related

Ubuntu Servers :: Advanced Rsync - Make The Rsync Set Or Keep The User And Group Affiliations?

Nov 17, 2010

Thought I'd post it here because it's more server related than desktop... I have a script that does:

[Code]....

This is used to sync my local development snapshot with the live web server. There has to be a more compact way of doing this? Can I combine some of the rsyncs? Can I make the rsync set or keep the user and group affiliations? Can I exclude .* yet include .htaccess?

View 6 Replies View Related

Ubuntu :: Can't Rsync Gmail / Run Rsync --recursive --times --perms --links --delete?

Jan 7, 2011

When I run rsync --recursive --times --perms --links --delete --exclude-from='Documents/exclude.txt' ./ /media/myusb/

where Documents/exclude.txt is

- /Downloads/
- /Desktop/books/

the files in those directories are still copied onto my USB.

And...

I used fetchmail to download all my gmail emails. When I run rsync -ar --exclude-from='/home/xtheunknown0/Documents/exclude.txt' ./ /media/myusb/ I get the first image at url.

View 9 Replies View Related

Server :: Rsync Execution - With Crontab - Have Given Full Path To Rsync Too

Apr 12, 2011

I have a tiny shell script to rsync files between two servers and remove the source files.

This script works fine, when it has been initiated manually or even when the rsync command is executed on the command line.

But the same script doesn't work, when I try to automate it through crontab.

I am using 'abc' user to execute this rsync, instead of root, as root login to servers are restricted in all of our servers, by us.

As I mentioned earlier, manual execution works like charm!

When this rsync.sh is initiated through crontab, it runs the first command(chown abc.abc ...) perfectly without any issues. But the second line is not at all executed, and there is no log entry i can find at /mnt/xyz/folder/rsync.log.

View 6 Replies View Related

Software :: Run Rsync To Download Files From A Server Without Rsync Daemon?

Sep 18, 2009

I just tried to sync files from one server to another. After the sync process, I found the files are bigger than original ones.

I looked up the web and found someone mentions the rsync daemon. So I have to run the daemon on one server before I run the rsync?

The command I used is rsync --partial --progress -r source destination

View 1 Replies View Related

OpenSUSE :: Application For Automatically Synchronizing Data Of Linux-PC To Windows XP-PC?

Dec 8, 2010

does anyone of you know an application for automatically synchronizing data of a Linux-PC to a Windows XP-PC?The form should be echo (changes only on the Linux-PC).Only the Linux-PC should have the application.

View 6 Replies View Related

OpenSUSE Multimedia :: XJadeo For 11.3 X86_64 - Synchronizing Video With Audio

Aug 13, 2011

I am looking for XJadeo for opensuse 11.3 x86_64 for synchronizing video with audio

View 1 Replies View Related

OpenSUSE :: How To Make Dolphin Behave Like Konqueror

Dec 10, 2010

In Konqueror, when browsing files the display would open in the "Advanced Embedded Text Editor" which was really handy. In Dolphin it
opens in Kate (KWrite by default but I changed it.) Is there a way to make Dolphin behave like Konqueror?

View 4 Replies View Related

Ubuntu :: One Of My Spares Missing / Get Disks To Behave Themselves?

May 10, 2010

I have a 6+2 disk RAID5 array. If I do mdadm --detail, it shows me 6 active, working 8, failed 0 and spare 2, as expected. However, in Disk Utility, it tells me I have two arrays, the one I expect, but with 6+1; and another with no disks. When I look through my disks, I see there's one which is 'different'. While I had made all my 8 disks partition-less, this one seems to have developed a partition somehow - "Linux RAID autodetect". Also, when I click on 'Go to array', it takes me to this other odd diskless array.

How can I get my disks to behave themselves?

(Also, I think these disks seem to move around devices for some reason).

View 5 Replies View Related

Ubuntu Installation :: Grub Does Not Behave Normally After Upgrade To 10.10?

Mar 13, 2011

some days ago I upgraded my 10.04 Ubuntu to 10.10. Upgrading took quite some time as I had already witnessed in previous upgrades. Everything seems to work fine after this operation but for the Grub. I can no longer set the timer! It means I have to manually push "Enter" to start booting. I also noted that I cannot change the font size of the Grub any longer. I have not seen such behaviour during previous upgrades (I started upgrading with U 9.04).

Toshiba L505-10M with dual boot W7/U 10.10 500 GB HD & 6 GB RAM

View 9 Replies View Related

Server :: Rsync Can Not Rsync Files With Include Filter

Jul 21, 2010

use rsync to cp such files and dirs under /var/www/html/mydir directory but these two files(/dir4/1.html /dir4/2.html) cant rsync to dest mechine.

rsync configure file,below...

View 2 Replies View Related

General :: Gnome - Configure The Definition Of "full Screen" To Make Large VNC Windows Behave Nicely On A Dual Screen Setup?

Dec 15, 2010

In my corporate environment, I'm required to run a Windows machine that acquires a VNC session on a machine in the server farm. My windows machine is dual head with different resolution monitors ( 1600x1080 on left and 1920x1200 on right). If I create a VNC session that spans the monitors, then maximizing a window in the VNC session causes it to stretch across both my monitors.

Instead, I want a "maximize" event to behave like it does on my windows machine -- I only want to maximize to the display that the window is on.

How can I define what, what I'll call, "maximize regions"? Regions in the VNC graphical plane where when I click "maximize", the window only expands to the region it currently ( and mostly) resides in.

Can I do this in gnome, X, xrandr, or some other magical interface?

View 2 Replies View Related

Ubuntu Networking :: 10.4 - NIC Bonding - Make Routes Behave Themselves?

Dec 3, 2010

I just set up NIC bonding in Ubuntu 10.4, following these instructions, and I've got it working except for one problem: Every time I up or down a network device, or every time the system reboots, my routes go all to hell with eth0 and eth1 entries next to my bond0 entries. When the eth0 and eth1 entries show up, my connection is hosed and I have to go in via the maintenance IP to kill each route one at a time, leaving only bond0. Here's how I want my routes to look at all times:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.87.9.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
0.0.0.0 10.87.9.1 0.0.0.0 UG 100 0 0 bond0
Here's my /etc/network/interfaces:

[Code]...

View 3 Replies View Related

Ubuntu :: Make Flash-drive Behave Like A Keyboard

Jul 13, 2011

possible to make a flashdrive behave like keyboard. I recon there must be some good reasons not to. Because I can imagine some situations where this comes in verry handy.For example a script that executes gives login tab password enter and readies the next login for the next computer.This way I could just plug the flashdrive in, let type, plug it out and continue.

View 2 Replies View Related

OpenSUSE :: Screenlets Behave Better, The Setting Menu Appear Only With Proper Clicking?

Nov 22, 2010

Each time I pass with a cursor over a widget on the desktop its side bar appears, of course it should because of resizing and moving or do some setting, but that is very boring if I do not intend to use that bar. Screenlets behave better, the setting menu appear only with proper clicking. Is there a way to manage jumping widget menu bar not to appear on every cursor passing ?

View 2 Replies View Related

Server :: Rsync Fails In Cron - Ssh Key - For Rsync?

Dec 8, 2010

I'm using Ubuntu 10.04 LTS server and Postgresql 8.4. I have a .sh script that is run by cron every other hour. That works fine. The .sh script includes an rsync command that copies a postgresql dump .tar file to a remote archive location via ssh. That fails when run by cron; I think because it is (quietly) asking for the remote user's password (and not getting it). I set up the public/private ssh key arrangement. The script succeeds when run manually as the same user that the cron job uses, and does not ask for the password. I am able to ssh to the remote server from the source server (using the same username) and not get the password prompt (both directions), so why doesn't rsync work? I even put a .pgpass file in the root of that user's directory with that user's password, and the user/password are identical on both servers.

I think the problem is rsync is not able to use the ssh key correctly. I tried adding this to my script but it didn't help.

Code:

Here is the rsync command embedding in the .sh script.

Code:

Here is the cron entry:

Code:

View 6 Replies View Related

OpenSUSE :: Force KDE To Behave Way Wanted - Revert To Earlier Version With KDE3.5?

Sep 13, 2011

I've recently installed openSuse 11.4 64bit with KDE 4.6 and that's when the trouble started. If I put a data or mp3 cd in the drive it can be mounted. Simple audio cds refuse to mount, giving me only the option to play on one of the audio players. Since I wanted to move some music to the computer I've had to resort to windows to copy files then transfer them. How can I force KDE/Suse to behave the way I want or do I have to revert to an earlier version with KDE3.5? I suspected that System Settings/Removable Devices was where I needed to be but nothing I did worked. So then I tried playing with System Settings/Device Actions and again nothing seemed to work. I can't mount the CD manually,I get this (using su -c "mount etc"

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0: can't read superblock

View 9 Replies View Related

Programming :: Re-mapping Stdio For A Fork'd/exec'd Executable Doesn't Seem To Behave

Jan 27, 2011

I have a monitoring program ( GIT link to sourceforge ) which I'm trying to use to track when a child exits/dies/whatever. I'm calling fork(), then close for 0,1,2, and then opening /dev/null, monitored.stdout, and monitored.stderr as a replacement. I'm not sure if I've done something incorrect (perhaps I should use dup2 for explicit assignment?) but it appears that printf() messages are just being blackholed. I've tried setting the line buffering as a last ditch effort. On a different system, using code similar to the spawn_monitor() function, this appears to work fine, which makes me think I'm relying on some implementation specific detail.

Relevant function, for those who don't click links:

Code:

26 int spawn_monitored(char *argv[])
27 {
28 int exit = 0;
29 pid_t child;
30 const struct rlimit inf = {

[code].....

View 14 Replies View Related

Debian Configuration :: Wifi Behave Weird In Squeeze On Dell Latitude D620?

May 23, 2011

I'm using Dell Latitude D620 notebook,with Squeeze amd64.This is the output of lspci:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated

[code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved