LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2009, 01:47 AM   #1
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Rep: Reputation: 53
Rsync hiding updated files


Hi all

Lately I have been writing about rsync issues.

To summarize the timestamps are all goofed up when I copy files to my network drive (an Iomega with cifs).

I devised a work around where I use the file-size to determine whether or not rsync should create a new file.

My test procedure is simple. In a test directory I put a random text document. I upload it using this script:

Code:
rsync --verbose  --progress --stats --size-only --recursive --times --perms --links --exclude=".*/" --delete /home/shane/test/ /media/network_drive/test/
Next, on my computer I edit the file, just throw some random text in there. The I run the above script again, and open the file on the network drive to see if it has changed.

It never does change. But if I look at the hidden files the updated file is located in there.

I need to be able to make the updated file be the only file in there.

I've been all over google and the forums.... any help you all can give would totally rock.
 
Old 02-11-2009, 10:09 PM   #2
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
I have fixed this problem, I will be posting a howto on how I did it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding the files JATA01 Linux - General 12 11-06-2008 10:57 PM
hiding files on Desktop girish_hilage Linux - Desktop 5 06-18-2008 01:25 PM
Hiding Image Files In Web Server breadfan311 Linux - Server 7 05-13-2007 07:29 PM
Hiding downloadable files vxc69 Programming 7 10-26-2006 01:17 PM
Hiding files from users TomalakBORG Linux - General 3 02-04-2006 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration