similar to: --delete and --files-from

Displaying 20 results from an estimated 40000 matches similar to: "--delete and --files-from"

2006 Jan 30
7
DO NOT REPLY [Bug 3465] New: --files-from does not --delete
https://bugzilla.samba.org/show_bug.cgi?id=3465 Summary: --files-from does not --delete Product: rsync Version: 2.6.6 Platform: Other OS/Version: AIX Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: michael.w.grenier@lmco.com
2002 Jul 23
2
--delete doesn't work when transferring many files
This is a curious thing. I'm syncing two directories, containing some 250 subdirectories totalling around 11,000 files. This: rsync --password-file=/usr/local/etc/rsync/.passwd --delete -rtv --exclude-from=/usr/local/etc/rsync/excludes /usr/local/sourcedir username@destserver.com::modulename ...works fine if both directories are already nearly in sync. Deleting a few files from the source
2018 Jan 10
2
downloading only specific directories from directory tree
Dear Kevin: ~ 1 year ago your answer helped me to solve my problem. This time I would like to do a similar thing but little bit modified. I read again carefully INCLUDE/EXCLUDE PATTERN RULES section of rsync manual but still cannot comprehend every part of it. I understand I have to add include patterns first and exclude patterns second. But it is not clear if I have to add all the include
2016 Mar 25
4
Memory consumption for rsync -axv --delete
Hi, I have been using rsync for many years and never had any kind of problem. Lately I am running out of RAM trying to do an incremental backup to a box that only has 2G of RAM. The entire directory structure I'm mirroring is about 200G of files. A minority of subdirectories have many files. Is there a way to do an incremental backup with --delete option that does not use as much memory? Is
2004 Jul 22
1
Cannot delete used folders?
Greetings! Short version: -------------- I cannot rename or delete the directories that have been used in the past (i.e. files or subdirectories created within). Everything else is fine, renamable, deletable. All files (regardless wethder created before or after), all directories created after the first one. I was not able to find any hint on that - neither Google, nor UseNet archive(via
2006 Feb 13
1
How to delete NON-EMPTY directories through a Samba share?
Hi all, I have setup a Samba server as file and print server. Everything works perfectly, I can print, I can write, delete files through Samba. But, the only thing that does not work is to delete a NON-EMPTY directory. No error message received, just don't want to delete it. As soon as I delete all files from the directory, then the directory can be deleted too. The problem is recursive for
2006 Nov 01
1
How to rsync only specified subdirectories in the source folder?
Hi all, For example,if there is ten subdirectories named sub1~sub10(each including subdirectories and files too),and file1~file10,how can I rsync only sub2 and sub 3 to the target? /---- MyFolder |---------- sub1 |---------- sub2 |---------- sub3 |---------- sub4 |---------- sub5 |---------- sub6 |---------- sub7 |---------- sub8 |---------- sub9
2010 Aug 13
1
Squid and first-level subdirectories & second-level subdirectories on ext3/4
Squid, a proxy, is by its nature, storing large amounts of relatively small files in it's cache. As config optins it's offering: # 'Level-1' is the number of first-level subdirectories which # will be created under the 'Directory'. The default is 16. # # 'Level-2' is the number of second-level subdirectories which # will be created under
2003 Jan 10
1
Windows XP and Samba 2.2.7a Print drivers--they upload fine, but driver list for printers is emtpy.
I am logged on as a domain admin and printer admin. I have created and assigned the correct rights to /srv/printers and have created W32X86 and WIN40 subdirectories. I was able to go into server properties and upload all the necessary drivers. When I right click on the printer and say "No." to "Printer driver not installed, do you want to install the driver now?" the drivers
2004 Apr 21
2
exclude-from and include-from confusion
Learning rsync (love it) and am requesting some help in understanding the exclude-from/include-from rules. I've been doing some testing and the results aren't coming out as I expected. Problem: I have a directory with several dozen sub directories and would like to selectively pick a couple dozen directories to remotely copy. The issue is that there are a large number of directories and I
2012 Jan 06
5
proper way to mirror apt.puppetlabs.com?
I am wanting to set up a local mirror of apt.puppetlabs.com, and am a bit confused by the layout as well as the announcement that was made in this thread: http://groups.google.com/group/puppet-users/browse_thread/thread/0786824ea9531fe3/f53c9006843ab8dc I''m not sure exactly what I should be pulling, as rsync://apt.puppetlabs.com/packages/apt gets everything, but it seems like a bit of a
2017 Jan 20
4
downloading only specific directories from directory tree
Hello: I have read rsync manual and several howtos on how to use rsync, still I don't know if it's doable what I want to do, and if yes, how. The scenario: I would like to make a local copy of openSUSE 13.2 repositories. I use openSUSE linux. The repos are located in a multi-level directory structure, eg: ftp://ftp.halifax.rwth-aachen.de/opensuse/repositories/ Let's call this
2002 Aug 11
2
How to rsync selective subdirectories
Hi My directory structure is something like following: List of files in /abc/dir/ 20020811 20020812 20020814 20020815 (where directory name above is the date, and daily changes i.e. directories are added and deleted) list of files in /abc/dir/20020811 toid toil etd dt (all the date directories contain the directories as above and
2008 Aug 04
3
RFE: Disallow DELETE of non-empty MBOX
It looks like this is already the rule for maildir, where one can't remove the folder if any files or subdirectories are present. I'd like to get this option for mbox folders, as I'd like to prevent "accidents" where users accidentally delete large folders by clicking the wrong thing and then too-quickly approving the confirmation dialog that pops up. (Impatient upper
2002 Aug 12
3
--include option
HI, I'm trying to have files to be included during rsync. I have the filesystem /stor/circuit_design/, with the following subdirectories as its contents: clock_speed fub_layout test_simulations pattern_flow I would only like to rsync the following 2 subdirectories to the destination machine: clock_speed fub_layout and they're contained in the file called files_included: # cat
2008 Sep 22
1
--files-from= and --delete corrent options
Hi, I am running the following command to backup a specific file from /tmp/BACKUPFILE which contains the name "Friday2008-09-19.bkf". rsync -ah --delete --numeric-ids --stats --delete-excluded --files-from=/tmp/BACKUPFILE /var/data/shares/vmbackups/ /mnt/usb_backup/SFSYDVS01/daily.0/VM/ The name in /tmp/BACKUPFILE changes each day for example when next run it will be
2002 Nov 01
2
Help on rsync delete option
Hello, Any help on the following issue will be appreciated. How do I delete files or directories in my first level of directory that is specified as host. Here is an example : rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/* /mlinkfam/extract/sccs/pa Giving above command I find redundant files or directory not getting deleted from the first level of target directory
2020 Sep 29
2
Syncing multiple sub-directories to one directory
I would like to sync many subdirectories into one directory with no subdirectories. I've tried rsync -rv --progress --include '*.jp*g' --include '*.png' --include '*.dng' --include '*.raw' --include '*.nef' --include 'Duo' --include 'DCIM' --include 'WhatsApp' --exclude '*' /my/phone/root/dir/
2020 Sep 29
3
Syncing multiple sub-directories to one directory
Thanks for your help. What you provided didn't work for me because that still placed things in subdirectories. I figured it out. This puts it all in the images directory. find /my/phone/root/dir/ \( -path '*Duo*' -o -path '*DCIM*' -o -path '*Pictures*' -o -path '*Camera*' -o -path "*Download*" -o -path "*textgram*" -o -path
2005 Dec 22
1
smbfs - Can't create files in subdirectories...
Greetings, I'm hoping someone can help... I have a Slackware 10.2 server running Samba 3.0.20b. When I mount a share with "mount -t smbfs -o username=user,pass=pass,fmask=777,dmask=777 //server/share /mount/point" (on another 10.2 PC) the mount completes successfully. Logged in as a user, I can access the mountpoint and create files and directories in the root of the mount point.