You are not logged in.

#1 2008-01-30 13:25:16

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

rsync and hidden files...[solved]

Hi,

I have tried using pybackpack simplebackup flyback but they do not quite do what I want....

Can write a simple script using rsync

Tried using

rsync -a source/ destination/

but hidden files are not copied over?

device I am backing up to is vfat ;-(

thanks

MrG

Last edited by Mr Green (2008-01-30 19:01:00)


Mr Green

Offline

#2 2008-01-30 18:56:55

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: rsync and hidden files...[solved]

20:54:53 papio@baboon:/home/tmp$ ls -la /c/tmp/123/
total 4
drwxrwxrwx 1 root root    0 2008-01-30 20:54 .
drwxrwxrwx 1 root root 4096 2008-01-30 20:52 ..
20:54:55 papio@baboon:/home/tmp$ ls -la 11/
total 8
drwxr-xr-x 2 papio papio 4096 2008-01-30 20:52 .
drwxrwxr-x 4 papio papio 4096 2008-01-30 20:52 ..
-rw-r--r-- 1 papio papio    0 2008-01-30 20:52 .2
-rw-r--r-- 1 papio papio    0 2008-01-30 20:52 1
20:55:11 papio@baboon:/home/tmp$ rsync -a 11/ /c/tmp/123/
20:55:19 papio@baboon:/home/tmp$ ls -la /c/tmp/123/
total 4
drwxrwxrwx 1 root root    0 2008-01-30 20:52 .
drwxrwxrwx 1 root root 4096 2008-01-30 20:52 ..
-rwxrwxrwx 1 root root    0 2008-01-30 20:52 .2
-rwxrwxrwx 1 root root    0 2008-01-30 20:52 1
20:55:23 papio@baboon:/home/tmp$

strange, mine is working


Zygfryd Homonto

Offline

#3 2008-01-30 19:00:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: rsync and hidden files...[solved]

thanks very much


Mr Green

Offline

Board footer

Powered by FluxBB