Sponsored Content
Full Discussion: Problem with rsync command
Top Forums Shell Programming and Scripting Problem with rsync command Post 303045555 by nimafire on Tuesday 31st of March 2020 04:31:45 PM
Old 03-31-2020
Problem with rsync command

Hello
im working on my bash script, in rsync part i try this command to rsync all folders except this folder 'wp-content/cache'
which has tousends of file and i dont want to rsync content :

Code:
rsync -avz --exclude '/home/user/public_html/wp-content/*' /home/user/public_html/* /dest

but output is:
Code:
[root ~]# rsync -avz --exclude '/home/user/public_html/wp-content/cache' /home/user/public_html/* /dest
sending incremental file list
wp-content/cache/css/
wp-content/cache/css/0b3bc.css
wp-content/cache/css/284bc.css
wp-content/cache/css/357e5.css
wp-content/cache/css/42241.css

it start rsync but with folders that i add in exception .

Last edited by Peasant; 03-31-2020 at 11:08 PM.. Reason: Added code tags.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

rsync problem

Hi, while runninc rsycnc I am getting following error rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) any idea? (1 Reply)
Discussion started by: redlotus72
1 Replies

2. UNIX for Advanced & Expert Users

rsync problem!!

I know double posting is not allowed... but I need urgent help on this question... so... please bear with me! I am having a problem with rsyncing 2 directories in my network. Here is the situation: 1. I have a directory tree on the 1 server say: SOURCE 2. I have to rsync this directory tree... (3 Replies)
Discussion started by: skotapal
3 Replies

3. UNIX for Dummies Questions & Answers

rsync problem

Hi, I wanna synchronize all the /etc settings from my previous server to new one. (Both of them are Debian Etch 4.0) I used this command: rsync -r -vz -e ssh someuser@myOldServer:/etc /etc & rsync -avz -e ssh someuser@myOldServer:/etc /etc These commands told me that everything occur perfectly... (6 Replies)
Discussion started by: mjdousti
6 Replies

4. Shell Programming and Scripting

single quote problem with rsync

Hi everybody, I'm a newbie and hope that someone help me in this problem. I have a filename in LINUX with single quote like this: abs@hosttest:~/ABS/BETY/cygdrive/C/DECLARANOT 1.1.4/02 - ROCK/052 - GUNSROSES> dir You* -rw-r--r-- 1 abs users 2365881 2008-08-25 09:16 You're Crazy.mp3 ... (9 Replies)
Discussion started by: mr_boysito
9 Replies

5. Shell Programming and Scripting

problem with rsync

Hi, I am copying files from one server to the other by rsync utilty. I am giving a list file to the rsync and i am writing it to the log also. The problem is that,rsync is not copying the order in which i have given files and links to the list. I can see it, through the log file. I am giving... (7 Replies)
Discussion started by: vvenu88
7 Replies

6. Solaris

Problem of install rsync on Solaris 10

hi all, I have download latest version for rsync from rsync download web site. I trying install rsync tool to sun solaris 10 (SPARC M4000 server) and but get some error. Please see below: -bash-3.00$ ./configure configure.sh: Configuring rsync 3.0.6 checking build system type...... (3 Replies)
Discussion started by: Tlg13team
3 Replies

7. Solaris

rsync via ssh Problem

Hi all, recently I took over the admin-task for a solaris 10 x86 machine. I would like to use rsync for backing up files via ssh to another machine. There are two machines I have tested with both without success. One is a ubuntu server 8.04, the other one is ubuntu 10.04 desktop. Installed... (2 Replies)
Discussion started by: sly_dunbar
2 Replies

8. UNIX for Advanced & Expert Users

Problem with rsync - connection unexpectedly closed

Hi i am running a rsync between two remote servers but it errors. The rsync command is a follows rsync -aWv -e rsh --stats progress --delete --ignore-errors --exclude .DS_Store --exclude .HSancillary --exclude .HSxmap --exclude .HSResource /raid1/PRODUCTION/ ... (0 Replies)
Discussion started by: treds
0 Replies

9. Shell Programming and Scripting

Rsync problem versions out of sync

Hello, I have a report which I am writing as a .tex file, and I am editing from two computers (office and home laptop). I use rsync over ssh connection to synchronise between them and all the rssync commands are written in a Shell script. #synchronise from office computer to home laptop... (2 Replies)
Discussion started by: ajayram
2 Replies

10. UNIX and Linux Applications

Rsync problem

Hi Guys does any know the cause of this error on rsync: tried transferring files to a remote server in a NFS share directory and i got that error, previously it was ok. (1 Reply)
Discussion started by: RobertG
1 Replies
cssdiff(1)							      CRM114								cssdiff(1)

  NAME
      cssdiff - generate a difference summary of two .css files

  SYNOPSIS
      cssdiff [cssfile 1] [cssfile 2]

  WARNING
      This  man  page  is  taken from an older CRM114 version.	It is provided as a convenience to Debian users and may not be up-to-date.  If you
      would like to update it, please send appropriate patches to the Debian bug tracking system.

  DESCRIPTION
      cssdiff is a special-purpose utility to measure the distance between the classes represented by cssfile1 and cssfile2.  The  summary  result
      output  tells  how  many	features  were in each of the .css files, how many features appeared in both (balanced overlap), how many features
      appeared only in one (or unbalanced overlaps), and how often the feature set of one .css file strictly dominated the feature set of  another
      .css  file.  This set of metrics provides an intuitive way to determine the similarity (or dissimilarity) of two classes represented as .css
      files.  When using the CRM114 spamfilter, it can be used to find out how easy it will be for CRM114 to differentiate spam from nonspam  with
      your .css files.	cssdiff prints a report like e.g.

	 Sparse spectra file spam.css has 1048577 bins total
	 Sparse spectra file nonspam.css has 1048577 bins total

	 File 1 total features		  :	 1605968
	 File 2 total features		  :	 1045152

	 Similarities between files	  :	  142039
	 Differences between files	  :	 1279964

	 File 1 dominates file 2	  :	 1463929
	 File 2 dominates file 1	  :	  903113

      Note that in this case there's a big difference between the two files; in this case there are about 10 times as many differences between the
      two files as there are similarities.

  OPTIONS
      There are no options to cssdiff.

  SHORTCOMINGS
      Note that cssdiff as of version 20040816 is NOT capable of dealing with the CRM114 Winnow classifier's  floating-point  .cow  files.  Worse,
      cssdiff  is  unaware of it's shortcomings, and will try anyway. The only recourse is to be aware of this issue and not use cssdiff on Winnow
      classifier floating point .cow format files.

  HOMEPAGE AND REPORTING BUGS
      http://crm114.sourceforge.net/

  VERSION
      This manpage: $Id: cssdiff.azm,v 1.5 2004/08/19 09:06:44 vanbaal Exp $ This  manpage  describes  cssdiff	as  shipped  with  crm114  version
      20040816.BlameClockworkOrange.

  AUTHOR
      William S. Yerazunis. Manpage typesetting by Joost van Baal and Shalendra Chhabra

  COPYRIGHT
      Copyright  (C)  2001, 2002, 2003, 2004 William S. Yerazunis.  This is free software, copyrighted under the FSF's GPL.  There is NO warranty;
      not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more details.

  SEE ALSO
      cssutil(1), cssmerge(1), crm(1), cssmerge(1)

  cssdiff 20040816.BlameClockworkOrange-auto.3			      19 Aug 2004							  cssdiff(1)
All times are GMT -4. The time now is 09:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy