Sponsored Content
Top Forums Shell Programming and Scripting Laptop/Desktop... Back up/Mirror script. Post 302176947 by komputersman on Wednesday 19th of March 2008 04:34:36 PM
Old 03-19-2008
Here is what worked...
Quote:
rsync -av --exclude="Music" /home/<user> <user>@Laptop:/home
Thank you for your assistance guys.
Kevin

Also by the way, If I want to exclude more then one "pattern" what is the seperator "Music Pics" or "Music; Pics" Just curious?
 

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
AnyData::Format::Mp3(3pm)				User Contributed Perl Documentation				 AnyData::Format::Mp3(3pm)

NAME
AnyData::Format::Mp3 - tied hash and DBI access to Mp3 files SYNOPSIS
use AnyData; my $playlist = adTie( 'Passwd', ['c:/My Music/'] ); while (my $song = each %$playlist){ print $song->{artist} if $song->{genre} eq 'Reggae' } OR use DBI my $dbh = DBI->connect('dbi:AnyData:'); $dbh->func('playlist','Mp3,['c:/My Music'],'ad_catalog'); my $playlist = $dbh->selectall_arrayref( qq{ SELECT artist, title FROM playlist WHERE genre = 'Reggae' }); # ... other DBI/SQL operations DESCRIPTION
This module provides a tied hash interface and a DBI/SQL interface to MP files. It creates an in-memory database or hash from the Mp3 files themselves without actually creating a separate database file. This means that the database is automatically updated just by moving files in or out of the directories. Many mp3 (mpeg three) music files contain a header describing the song name, artist, and other information about the music. Simply choose 'Mp3' as the format and give a reference to an array of directories containing mp3 files. Each file in those directories will become a record containing the fields: song artist album year genre filename filesize This module is a submodule of the AnyData.pm and DBD::AnyData.pm modules. Refer to their documentation for further details. AUTHOR &; COPYRIGHT copyright 2000, Jeff Zucker <jeff@vpservices.com> all rights reserved perl v5.10.1 2004-08-17 AnyData::Format::Mp3(3pm)
All times are GMT -4. The time now is 11:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy