Ubuntu :: Rsync: Add An Exception To The List Of Exclusions?
Sep 29, 2010
I have a cron job that backs up some files over to an external disk.It ignores the hidden folders in my home dir, by using the --exclude-from option.However, there is one specific hidden dir that I do want to back up.Is there some way to add an exception to the list of exclusions?
View 2 Replies
ADVERTISEMENT
Aug 18, 2011
I'm trying to generate a list of my music directory folder structure WITHOUT the files included. I have my music directory set up in a hierarchy of Artist>Album>Files, and I just want to generate a list of the folders because that will, in effect, output a list of what albums I have by what artists, which is ultimately what I'm after. I did some looking on the internet through various forums over the past few days and found two ideas that looked promising, but ended up being not exactly what I needed. The first was to generate a .txt file based off of a shell ls command:
ls -R [music directory name] >> ~/mymusiclist.txt
That's great, except that it also includes the 40,000+ individual music files by name. I'm not about to invest that much time editing the files out of the list when I know there has to be an easier way.The second idea I came upon involved using the extglob function. I tried enabling extglob and using it to input a "negative wildcard" into the above method to remove anything .mp3 from the returned list, but extglob didn't play well in that context. I'm not a command line wizard, so it's entirely possible that I'm missing something fairly obvious. In fact, I'm sure I am. So this is a great opportunity for me to learn something new. If anybody knows of a command line way to do this, I'd love to know it. Or, even better, if anybody knows of an app that can do this, even better. I'm not above installing a secondary music player just to import the library once and get my list.
View 3 Replies
View Related
Nov 3, 2009
I have FC-4 with Squid and Dansguardian. Internet Users in my organisation are configured to use proxy with 8080 in browser IE. There's no issue with Users as DG working perfect for them. We have Business Development Team, as they need to do most of the research over internet, their IP's are included into "Exception IP List" in Dansguardian. Obviously these people will be excepted from all banned sites, BD Team able to do chat, play games and do social networking and other stuff over the net, which results in more bandwidth consumption and breaking office policies.
I have tried to implement SQUID ACL's to block few sites like " meebo.com, orkut.com,facebook.com etc" but SQUID acl's not coming into picture. any one who successfully blocked chat, banned sites and social networking in DG with my case.
View 1 Replies
View Related
Feb 14, 2010
I received the following output from an rsync (3.0.0) command that was executed:
sending incremental file list
sent 77214 bytes received 484 bytes 155396.00 bytes/sec
total size is 254531170 speedup is 3275.90
What does "sending incremental file list" mean?
View 9 Replies
View Related
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
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
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
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
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
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
Jan 23, 2010
I tried to run xfire with wine (yes, i installed it with wine also from the installer) , and it gave me an exception error (picture in attachments), how do i fix this?
View 1 Replies
View Related
Feb 18, 2010
pidgin started crashing today for no apparent reason. It just shutdowns. No freezing or anything, it just goes away, disappears. From what I can say, there's no specific trigger for this, it can happen after 2 or 10 min after I started it. Once it even shutdown right 10seconds. I tried to run it from the terminal. When I do that, the only thing that appears before closing is
Code:
Floating point exception Anyone has an idea of what it can be? I made no upgrade to pidgin or libpurple recently. I made however an upgrade today of the following packages
Code:
Commit Log for Thu Feb 18 10:24:00 2010
[Code]...
View 1 Replies
View Related
May 20, 2010
I'm having some trouble with NAT in my gateway.For the 10.13.0.0/16 network, I do not want to apply NAT through the gateway. However, the way it is configured, it is applying SOURCE NAT to traffic coming from 10.13.0.0/16 and changing source ip address to 8.8.8.1
For example, pinging from 10.13.0.11 to 10.101.14.1 (passing through the gateway, which is also a router in this case), then SNAT is applied and the ip packet gets changed to :
--------------------------------
| source address : 8.8.8.1_____|
--------------------------------
| dest. address_ : 10.101.14.1 |
--------------------------------
NAT's configuration in gateway/router:
Code:
iptables -t nat -A POSTROUTING -d 8.8.8.0/24 -o $EXTERNAL -j RETURN
iptables -t nat -A POSTROUTING -d 10.0.0.0/8 -o $EXTERNAL -j RETURN
iptables -t nat -A POSTROUTING -o $EXTERNAL -j LOG
[code]...
View 2 Replies
View Related
Oct 20, 2010
When I try to open Banshee, I can see the GUI for about half a second, then it closes with "Unhandled Exception: GLib.GException: Can't recursively copy directory".I'm running Ubuntu 10.10 amd64, and had an old version of banshee installed from a few releases back (don't remember which). I deleted the banshee-1 folder in my ~/.config directly, as well as uninstalled and reinstalled with no luck. Other Mono apps (such as gnome-do) work fine.Here is the full output of "banshee --debug":
** Running Mono with --debug **
[1 Info 21:09:19.692] Running Banshee 1.7.6: [Ubuntu maverick (development branch) (linux-gnu, x86_64) @ 2010-09-18 21:00:29 UTC]
[code]....
View 1 Replies
View Related
May 27, 2011
This is the first time I post a question on these forums My problem is as follows: I can't start gnome-terminal from the Applications->Accesories menu or from the Alt+F2 application launcher. I get a "Starting Terminal" in the task-bar that disappears after a few seconds and no terminal. I'm pretty sure there is something I did, but I can't really figure out what it is.
The things I've tried so far:
1. I used synaptic to remove and reinstall gnome-terminal. That didn't work
2. Started Xterm and tried to run "gnome-terminal". This is where it gets weird for me:
a. running the command as normal user I get a "Floating point exception" error and obviosly no terminal
b. when I do "sudo gnome-terminal" and enter the root password I get, as expected, a root terminal. I could live with that, but it's not ideal.
View 8 Replies
View Related
Apr 7, 2010
system occurs "Too many files open exception" when application server run serval hours. I use "ls -l /proc/pid/fd" command view all fd in this java process.I found that the number of pipe is increase slowly and constantly.
Who can tell me What mean of follow line:
View 3 Replies
View Related
Feb 9, 2010
When i try to configure network in Fedora 8 i get this error: "An unhandled exception has occurred. This is most likely a bug"
View 1 Replies
View Related
May 12, 2010
I writed Quote:
#!/usr/bin/perl -w
use Error qw(:try);
try {
[code]....
View 1 Replies
View Related
Apr 21, 2010
I am writing an application that uses POSIX thread. I am spawning a threads and threads performs task in infinite loop .I have another monitor which monitors the activities of these threads. Due to some reason I have to kill one thread from monitor thread. so I use pthread_cancel() . It terminates thread however it throws exception. I searched about the exception on internet and i am able to catch the exception and handle it as well . However the exception is not thrown every time . I wanted to know under what circumstances it throws exception. Accordingly I have to write cleanup handler
View 1 Replies
View Related
Mar 8, 2010
I'm getting exception 13 when trying to use the latest qemu-kvm-0.12.3 on slackware 12.2 w/ stock 2.6.27.7 kernel:
Code:
exception 13 (6b)
rax 0000000000000010 rbx 0000000000008c00 rcx 0000000000006ebe rdx 00000000000c8c00
rsi 00000000f2010000 rdi 00000000000c0000 rsp 0000000000006eb4 rbp 00000000f2010000
[code]....
Google says this has something to do with Intel hardware and the way it handles real mode. run it with -no-kvm, but that's not much of a fix really.. so in the mean time I reverted to using qemu-kvm-devel-88 which works well, but is pretty old.
View 2 Replies
View Related
Mar 30, 2010
Ubuntu 9.10 64-bit. I was importing photos into f-spot. Then my laptop shutdown because it overheated (a different problem). Now f-spot will not open. A dialog pops up and says "F-Spot Encountered a Fatal Error. Exception has been thrown by the target of an invocation." Here are the error details:
Code:
An unhandled exception was thrown: Exception has been thrown by the target of an invocation.at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
[Code]...
I've read somewhere that there might be a bug with themes, but I've changed mine back and forth. I don't really think this is a bug as much as something that happened when the computer crashed. I've tried uninstalling f-spot and reinstalling it, I get the same error above. Anybody have any idea on how to get it working again?
View 5 Replies
View Related
Oct 14, 2010
I have been trying to convert a DVD9 to DVD5 using the following steps
1)Rip the DVD title(s) to harddisk with DVD:RIP in a project folder. This created VOB files of the the movie and the soundtrack you picked.
2)Concatenate (merge) the VOB files into one by running in a console: cat *.vob > movie.vob
3)demutliplex movie.vob and get the M2V and AC3 files out of there. tcextract -i movie.vob -t vob -x mpeg2 > movie.m2v
4)tcextract -i movie.vob -a 0 -x ac3 -t vob > movie.ac3
5)I then shrank the movie.m2v tcrequant -i movie.m2v -o shrinked.m2v -f 1.5
[Code]...
View 2 Replies
View Related
May 24, 2010
I want a internet browser to open a site that needs java engine,firefox has not this and also galeon :
The certificate is not trusted because it is self-signed.
(Error code: sec_error_ca_cert_invalid)
* This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.
* If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.
Or you can add an exception
You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.
If you still wish to add an exception for this site, you can do so in your advanced encryption settings.
How i can add exception or it is better to say me that :is there any browser instead of internet explorer for linux??
View 12 Replies
View Related
Jan 5, 2010
I am facing floating point exception issues in running top on some of my Red-Hat Linux servers
# top
6:45am up 476 days, 52 min, 4 users, load average: 0.00, 0.00, 0.00
109 processes: 108 sleeping, 1 running, 0 zombie, 0 stopped
Floating point exception
When I am executing the same command using strace or ltrace, its running fine.
# ls -lrt /usr/bin/top
[Code]...
View 1 Replies
View Related
May 22, 2010
After completing the installation using kickstart , the exception is occured, just after performing post installation,i am sending the exception image
View 8 Replies
View Related
Jul 1, 2010
I am using a gateway server, 1st NIC eth0 which is acting as WAN (DHCP)and 2nd NIC acting LAN(static). I am using DHCP to assign IP to eth0 from a Wimax modem. I am also use it as a MAIL server (openmail), and as a DHCP server. My server is of RHEL and kernel version is 2.4.8.18-14 and DHCP client & server version - 30pl1-9. The prolem is whenever I run the command..
ifup eth0
getting the error...
Determining IP information for eth0.../ifup: line277: 23328 Floating point exception/sbin/dhclient ${DHCLIENTARGS} ${DEVICE}
so what should I do?? if I update the DHCP, would it be ok?
View 1 Replies
View Related
Apr 6, 2010
I have problem in installing Fedora10 on to a UsbHarddisk(transend 250GB).
After installation of some packages it is saying that "An exception has occured .It is possibly a bug.file a report to bugzilla.redhat.com".
The problem is that,ihave previously seen this kind of message a month ago.And when i tried to install the second time it is installed.
Can i debug it?
I have no problem when installing Fedora on to a normalharddisk.
Another question can i install both Gnome and Kde on the disk.
View 1 Replies
View Related
Oct 26, 2010
To parse several XML documents I'm using libxml++. I do programming for linux angstrom-armv5te. Because compiling libxml++ for this distribution and platform was impossible, I simply included the library to my project, which workes fine. Unfortunately I'm not able not use the exception handing which effects that a simple error inside a documents makes my whole program crash. This should not happen.
Is there a way to check the documents validity before parsing or better active the exception handling for doing this.
View 3 Replies
View Related
Aug 10, 2009
I want to dual boot Fedora 11 with Ubuntu 9.04 Jaunty Jackalope.
I already have Ubuntu installed, but when I try to install Fedora 11 from Live CD, it comes up with this error:
An unhandled exception has occurred. This is most likely a bug... blah blah etc. Bug report is attached.
I would really appreciate it if anyone helps me!
I have had Ubuntu for about a month now (Windows blue screen), I want to use Fedora for a new experience and to do certain things I can't do with Ubuntu
I am booting from a USB stick.
View 9 Replies
View Related
Sep 27, 2010
I want to compile ekiga 3.0.2 for ubuntu 10.04. But when I enter 'make' command in the terminal windows, it says that;
[Code]...
I tried to solve the problem by setting CFLAGS = -fexceptions, in the Makefile. But it didn't work.
View 1 Replies
View Related