OpenSUSE :: Rsync Doesn't Remove Old Folders?

Nov 22, 2010

I want to synchronize my home folder from my laptop to my desktop from the local network, but i want to transfer only the visible folders/files... So i am using the following command

Code:
rsync -v-r-e --delete ssh ~/* kokeroulis-desktop@ip_address:~/

The command is transferring the files but it doesn't remove the old folders which they doesn't exist any more.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Using Rsync To Sync Folders?

Nov 28, 2010

OK, here is the test code I am using: rsync -acrv /home/randy/Documents /media/USB2/testbackup. What should I put in the code so that when I delete something in the Documents folder, it will also be deleted in the testbackup folder when I perform a sync.

How can I have it so the code will check if USB2 is available, if it is, do the sync, if not, do nothing.

View 1 Replies View Related

OpenSUSE :: Set The Option 'Double Click To Open Files And Folders' But It Doesn't Seem To Work?

Feb 7, 2011

under 'System Settings < Keyboard & Mouse' I've already set the option 'Double click to open files and folders' but it doesn't seem to work with Dolphin.

View 4 Replies View Related

General :: Osx - Keep Folders Synced And Backed Up Between Two Macs Using A NAS (rsync)

Sep 16, 2011

I've got two primary computers, one Mac Pro and one MacBook Pro for when I'm on the go. I've also got a Linux sever which also acts as NAS. Currently I backup the entire computers to an external drive with Time Machine which is rather useless and doesn't sync anything. What I really want to do is to keep my important files synced between both computers and my NAS (which is running RAID 5), that way I'm not backing up easily replaceable systemfiles and I've got all my important files in 3 places where two of them are running raid so at least 5 drives would have to crash at the same time before actual data loss occur.

Folders I want to keep synced is basically my photo, documents, development, mamp and work folders and then I want to keep the user library folder backed up but not synced. I'm thinking that I'd have to use rsync but don't know how. Before suggesting Dropbox and similar suggestions I don't want to use them because of several reasons some of them being security (Dropbox obviously proved this), Speed (sometimes I'll sync gigabytes of data and that will be significantly faster locally and probably even through VPN as I have a Gigabit pipe), Space (space on my NAS is cheap and only practically limited by my needs), reliability (even if my internet were to go down I still need to be able to keep my files synced incase I'd need to go somewhere on the fly), price (I already have all the hardware and for the amount of gigabytes and bandwidth I'd need I doubt that there's any free or cheap service). Those are my main reason for wanting to keep it locally.

View 2 Replies View Related

Ubuntu :: Sync Local Folders - Not Unison Or Rsync?

Apr 14, 2011

I need a program to run on Ubuntu that must be easily set up to do a series of different cloning operations at specific times between the USB drives on a single Ubunu pc, depending on the day of the week." So on Monday folder B is forced to match folder A, Tuesday C forced to equal D ... and on Sunday a whole bunch of these clonings happen. This must all run unattended (at 2am) and be robust with no "what do you want to do next messages" or having the whole thing give up if there is a problem with one file. Though I do need a log of success or failure. Windows programs that do this stuff are FolderClone and GoodSync. I looked at Unison and Rsync and one or two others, but none appeared set up to do what I need, or to be excessively complex / general. I don't need something that can sync two copies, or over internet ....

View 5 Replies View Related

Programming :: Using Rsync To Copy Only Certain Folders Within A Directory Structure?

Jun 15, 2011

I am trying to create a simple bash script to rsync some folders within a directory stucture. I am using wild cards, in the rsync source directory structure, but my command always fails. I believe it is the way I am using wild cards within my for loop. Here is my command ;

Code:

for seq in `cat test.txt` ; do rsync -nvP /folder/folder/folder/folder/folder/**/$seq /folder/folder/folder/ ; done This always fails, where if I do a ls to the destination, to test the path, it always works.

View 5 Replies View Related

Ubuntu :: Sync Folders To A Samba Storage Router (rsync)

Nov 4, 2010

how do I go about using rsync or grsync to sync folders to a samba share in my storage router? the samba share ip is smb://192.168.0.1/usb1-c/ tried using grsync but it says cant find smb!

View 9 Replies View Related

Ubuntu Servers :: Remove Directory Structure With Rsync

Apr 6, 2011

I have several copies of a file set with different organizational structures, but the same files. i.e.
On client1 files can be found in ~foobarfile1, ~foobarfile2, ~foo-avernfile3, ~foo avernfile4
On client2 files can be found in ~foo-barfile1, ~foo-barfile2, ~foo-tavernfile5, ~foo avernfile6
On client3 files can be found in ~file1, ~file3, ~file5, ~file7

I have access to one client and the server where I'd like all the files to be synced. I'm not worried about conflicts, just having a complete copy of all files[1-7]. Is there a way to cause RSYNC to remove the directory structure, so that I get something like:
client1% rsync files server:backup
client2% rsync files server:backup
etc
where at the destination all files will be checked against the destination set regardless of the source directory structure?

View 4 Replies View Related

Server :: Cronjob Rsync Doesn't Work

Mar 28, 2011

I have a computer that I would like to backup the home directory onto a server. I created a script called wien_backup.sh that contains the following:

#!/bin/bash -l
/usr/bin/rsync -rv --delete-after --ignore-errors -e /usr/bin/ssh root@wngr403-unix2:/home/ /space/systemimager/Wien/

where wngr403-unix2 is the computer I am backing up, and the script is ran from the server. If I run the script by itself, it works just fine. If I run it as a cronjob, the /var/log/syslog says it ran, but it does nothing.

View 6 Replies View Related

Server :: Rsync Doesn't Finish If Started Remotely?

Jan 28, 2010

I am having some problems with rsync,I put the rsync command in a shell script, and I am calling the shell from a 3rd server, but it stops midway through.s anyone else experienced these problems?

View 3 Replies View Related

Programming :: Rsync In A Backup Script Doesn't Delete-after

Oct 6, 2010

That is the whole script:

Code:
#!/usr/bin/env bash
# backup device for me, m.tornow, probably:
# /dev/sde1

[Code].....

and BU_MOUNTPOINT being the mount-point where a device is being mounted (duh).

View 6 Replies View Related

Ubuntu :: Remove All Folders Related To Mono?

Sep 17, 2010

I installed Mono 2.4 and I am struggling myself to remove all folders related to mono.. I didn't install from Synaptic so it's not just 'apt-get autoremove mono', I used the tarball.. how to remove all files from the installation?

View 3 Replies View Related

General :: Remove Duplicate Files From Two Folders?

Aug 19, 2010

I have two folders - Folder abc and Folder xyz which contains 1000's of files with few of them having the same file names. How can I remove the duplicates from Folder abc?

View 14 Replies View Related

General :: Why Doesn't Rsync Use Delta-transfer For Local Files?

Jan 17, 2011

I have a big iso image which is currently being downloaded by a torrent client with space-reservation turned on: that means, file size is not changing while some chunks in in (4 Mib) are constantly changing because of a download.

At 90% download I do the initial rsync to save time later:

$ rsync -Ph DVD.iso /media/another-hdd/
sending incremental file list
DVD.iso

[Code]....

Then, when the file's fully downloaded, I rsync again:

total size is 2.60G speedup is 1.00

Speedup=1 says delta-transfer was not used, although 90% of the file has not changed, target dir is on another FS and copying takes several minutes. Why doen't it try to speedup the transfer?! How can I force rsync to use delta-transfer?

View 1 Replies View Related

Ubuntu Security :: Remove Delete Permissions On Certain Folders?

Feb 8, 2010

I have a Ubuntu file server with a mix of 30+ users ( mix of windows and linux ).All are members of the same group. All need read write create access. I want to prevent deletion of certain key folders. How can I achieve this ? sudo chmod -R nnnn ??

View 8 Replies View Related

Ubuntu :: Remove Some Files By Extension Only, Going Down Several Folders, While Leaving Everything Else Be?

Apr 21, 2010

I'm a relative cli noob, and I screw something up. I want to remove some files by extension only, going down several folders, while leaving everything else be.I think this might be the the right command / syntax, can someone confirm:Code:rm -rf *.exe *.ini *.!ut /path/

View 9 Replies View Related

General :: Script To Remove Identical Items From Folders?

Jun 15, 2011

I am trying to do a comparison of two folders, let's call them dir1 and dir2 and remove any items that have the same file name in both folders from dir2.

View 4 Replies View Related

Ubuntu :: Remove Applications And Files And Folders Launcher From Unity?

Apr 30, 2011

how can i remove 'applications' and 'files and folders' launchers from unity in Ubuntu 11.04? Because applications and files and folders are already accessible from typing in the search box which gets opened clicking the top most left button.

View 4 Replies View Related

General :: What Folders Does Have That Mac OS X Doesn't?

Apr 2, 2010

I was wondering what kind of folders Linux has by default (e.g. system folders such as /var, /tmp etc) that Mac OS X doesn't?I'm pretty sure that some of these folders exist in Mac OS X but are hidden; is this correct?

View 4 Replies View Related

General :: Firefox /Gnome: Remove Down Arrow From Folders In Personal Toolbar

May 29, 2010

In linux version of firefox (specifically in my case Debian's rebranded Iceweasel), folders of bookmarks in the personal toolbar show a little down arrow on the right of the name. It serves no real purpouse and just takes up horizontal space, is there a way to remove it?

View 1 Replies View Related

Ubuntu Networking :: Samba Doesn't Share Folders In 10.04?

Feb 18, 2011

I have been looking in the forums but I found no solution for my problem.I already configured Samba and I am sharing folders, printers, etc. (Samba, authentification mode = user, guest account = nobody, share the folder give access to them, enable the permission to access, write, etc.) and seems to be working well.I am trying to connect a Windows to my shared folder in Ubuntu. The only problem is that Samba rejects it and doesn't ask for the password. It just drop the users (from Windows and Ubuntu systems) that try to access to my folders.So when it do in a Terminal sudo smbpasswd -a USERNAMEand I type no password, then it works they everybody can access to those shared but when I type any password then it comes back to the same problem that Samba never asks for passwords and rejects the users.

So the solution would be just give no password to share the files, but the other problem is that every time I restart the user session (restarting the computer, logging out, etc.) it just comes back to the same problem that Samba drops the users and doesn't ask for the password. Seems that every time I restart the system just forgets that I set no password.Another thing is that when I set authentication mode = shareThen nothing works. No password, no access just is possible to see it.

View 9 Replies View Related

Ubuntu Networking :: Nautilus Doesn't See Shared Folders On Windows Box

Nov 24, 2010

I have a home network consisting of a Desktop running Windows 7 Ultimate and a laptop running Ubuntu 10.10. Nautilus won't allow me to open Windows shared folders from the browser by just clicking on the icons. That is to say, clicking on Network in the bookmark pane and opening Workgroup doesn't do anything. Sometimes I get a "can not mount: failed to retrieve share list from server" error, sometimes my Windows box just isn't visible at all. All my shared folders on the laptop are visible and rw accessible from the Windows desktop.

I should add that if I hit ctrl-L in Nautilus and manually enter "smb://<server-name>/share/" in the address bar, it mounts and opens the specified folder just fine. I have some of the folders already manually mounted to various locations in fstab.

I've found the issue with Games for Windows Live, and uninstalled that from the Windows computer. I'm not using firewalls on either computer for now to eliminate that as a possibility. Since the Ubuntu Laptop seems to be the one with the problem, I'll focus on that for now.

Code:
$ nc -zv 192.168.1.100 445
Connection to 192.168.1.100 445 port [tcp/microsoft-ds] succeeded!
$ nc -zv 192.168.1.100 139
Connection to 192.168.1.100 139 port [tcp/netbios-ssn] succeeded!

[Code].....

View 4 Replies View Related

Software :: Evolution Not Starting - Doesn't Show Any Mail Folders ?

Aug 15, 2010

Having a problem with Evolution not starting.

It is version 2.28.3-2

Simply doesn't start. Brings up the main mail window, doesn't show any mail folders, and doesn't respond to any key presses or mouse clicks.

Other users on the same PC have no problems, so it must be user specific. Some sort of config problem I guess. But where ? This particular user has over 500Mb of mail in folders.

View 4 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

Ubuntu :: MM 10.10 Viewing Vista Shares Over LAN / Doesn't List All Data And Folders

Apr 20, 2011

1. Maverick Meerkat 10.10
2. Vista Ultimate

I'm successfully connecting to my Vista desktop via my laptop running MM;I can view my shares but not all my data. All top level shares seem to be visible, it's when I go deeper that I notice not everything is showing up. The folders are accessible if I type the full path, and then again I have the same issue once I'm inside that folder where not all data is visible.

In Nautilus setting: Edit>Pref>Preview Tab.I set preview for all files under 4GB which is the upper limit I can set.This made more files visible but not everything.I attempted to divide the directories in order to halve the size of the folders, this helped but not completely. The directories contain movie and picture files. The picture files are easier to divide more equitably between folders, but the movies being so large, managing folders sizes in that way doesn't help. I really don't want to divide my files according to this problem anyway. Sorting does not affect which folders and files are shown. Nothing is hidden, options to show hidden files on amd off, no help.

View 5 Replies View Related

OpenSUSE Install :: Mirroring Repositories With Rsync: Module Opensuse-full Is Broken?

Dec 1, 2010

The rsync module "opensuse-full" which worked well so far seems currently broken. It tries to mirror a huge number of additional stuff (factory?) but fails with "permission denied". Any place where I could report this?Command:

Code:
rsync -rlpt -hi -stats rsync.opensuse.org::opensuse-full /drive/repo
Errors:

[code]....

View 5 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

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







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