Sponsored Content
Top Forums Shell Programming and Scripting Laptop/Desktop... Back up/Mirror script. Post 302176928 by ShawnMilo on Wednesday 19th of March 2008 03:30:15 PM
Old 03-19-2008
The exclude option is meant to match a pattern. I'm thinking your slashes are confusing it.

Try putting it into quotes, or just try making your pattern "Music" instead, at least as a test.

Use the "-n" flag to test it without having to wait for it to actually run everything.

ShawnMilo
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Back-up/Mirror entire website

Hi all, I would like to backup the entire unix.com website in my system is it possible ?? i have hered about wget and curl will it possible to back up using wget ?? I have cygwin in window machine which have wget support . I don't know the syntax of doing the job. I am under a proxy... (2 Replies)
Discussion started by: jambesh
2 Replies

2. Debian

Laptop waking up in bag: go back to sleep script

I have a Debian-derived distro (Kubuntu 8.04) running on a Dell Inspiron laptop. This laptop often wakes from RAM suspension while in my bag. I would like to run a script, upon RAM suspension wake, that would detect if the lid switch is closed. If so, then the script should put the machine back in... (0 Replies)
Discussion started by: dotancohen
0 Replies

3. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

4. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

5. Ubuntu

Connect 2 laptops with RJ45 cable (Ubuntu 10.10 laptop with Windows 7 laptop)

Hi to all, I have the problem that a laptops with windows XP cannot startup even in safe mode nor using last good known configuration. I have a Ubuntu 10.10 Live CD and booting from it I can read the Hard Drive. I need to do a backup the Hard Drive from XP laptop and I want to connect this... (5 Replies)
Discussion started by: cgkmal
5 Replies

6. Hardware

Connect SATA Laptop HardDrive to Desktop SATA Slots

Hello everybody, I need to connect a laptop 2.5 SATA hard drive to a Desktop board (which uses 3.5' SATA hard drives). I've tried the connectors and they fit excellent in the 2.5 SATA connectors. The problem is that the laptop hard drive uses 5v and the PC's power source sends 12v. So, my... (4 Replies)
Discussion started by: Zykl0n-B
4 Replies

7. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

8. Ubuntu

Laptop to laptop transfer files

Dear all, I would like to transfer my old laptop documents/files etc to the new laptop without using any external hard disk. Please let me know if its possible via any way. Thank in advance, emily (3 Replies)
Discussion started by: emily
3 Replies

9. UNIX for Beginners Questions & Answers

Spooling File to My Desktop From Back-end using shell script

Hello all, I am trying to spool a SQL query output file from back-end to desktop in a certain path but it didn't work,the query writes the output in a file in the same directory at the back-end. note : i use the same query in sql developper and file was created in the desired path fine code... (1 Reply)
Discussion started by: bmaksoud
1 Replies
APT-MIRROR(1)						User Contributed Perl Documentation					     APT-MIRROR(1)

NAME
apt-mirror - apt sources mirroring tool SYNOPSIS
apt-mirror [configfile] DESCRIPTION
A small and efficient tool that lets you mirror a part of or the whole Debian GNU/Linux distribution or any other apt sources. Main features: * It uses a config similar to apts sources.list * It's fully pool comply * It supports multithreaded downloading * It supports multiple architectures at the same time * It can automatically remove unneeded files * It works well on overloaded channel to internet * It never produces an inconsistent mirror including while mirroring * It works on all POSIX compliant systems with perl and wget COMMENTS
apt-mirror uses /etc/apt/mirror.list as a configuration file. By default it is tuned to official Debian or Ubuntu mirrors. Change it for your needs. After you setup the configuration file you may run as root: # su - apt-mirror -c apt-mirror Or uncomment line in /etc/cron.d/apt-mirror to enable daily mirror updates. FILES
/etc/apt/mirror.list Main configuration file /etc/cron.d/apt-mirror Cron configuration template /var/spool/apt-mirror/mirror Mirror places here /var/spool/apt-mirror/skel Place for temporarily downloaded indexes /var/spool/apt-mirror/var Log files placed here. URLs and MD5 summs also here. CONFIGURATION EXAMPLES
The mirror.list configuration supports many options, the file is well commented explinging each option. here are some sample mirror configuration lines showing the various supported ways : Normal: deb http://example.com/debian stable main contrib non-free Arch Specific: ( many other arch's are supported ) deb-powerpc http://example.com/debian stable main contrib non-free HTTP and FTP Auth or non-standard port: deb http://user:pass@example.com:8080/debian stable main contrib non-free Source Mirroring: deb-src http://example.com/debian stable main contrib non-free ORIGINAL AUTHOR
Dmitry N. Hramtsov <hdn@nsu.ru> CURRENT AUTHORS
Dmitry N. Hramtsov <hdn@nsu.ru> Brandon Holtsclaw <me@brandonholtsclaw.com> perl v5.14.2 2012-01-28 APT-MIRROR(1)
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy