Sponsored Content
Full Discussion: rsync copy files once
Top Forums Shell Programming and Scripting rsync copy files once Post 302564408 by duonut on Thursday 13th of October 2011 02:44:53 PM
Old 10-13-2011
rsync copy files once

Hi
This is my situation

I have files on the left which I want to copy to the right. Once the files are copied to the right, they are processed and then deleted. The next time rsync runs I dont want it to copy the same files again, it should only copy any new files to the right.

I have been googleing around for ages and cant seem to find any solution to this.
 

9 More Discussions You Might Find Interesting

1. Solaris

Using RSYNC to copy files locally

Has anyone ever used rsync to copy files locally on one server? (in this case from one SAN volume to another). I am familiar with using rsync to copy files between servers, but not locally, I would usually use cp or or tar or something. Is rsync slower? Does it use additional overhead of the... (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

2. UNIX for Advanced & Expert Users

Using remote rsync, but copy locally?

I'm looking to use rsync to compare remote files and to copy the diff to a local directory, rather than transfer over the net. The net connection is not fast enough to transfer these files (~1.8TB) and I'd like to sneakernet them instead. Possible? (4 Replies)
Discussion started by: dfbills
4 Replies

3. UNIX for Dummies Questions & Answers

Rsync copy files if dont exist

I have a setup where I have two drives. TV TVbackup For what ever reason, I have a lot of content on my TVbackup drive which isn't on my TV drive. I want to copy all the files across which are on TVbackup but are not currently on TV. If there is a file with the same name but a... (2 Replies)
Discussion started by: Spadez
2 Replies

4. SCO

Rsync sometimes fails to copy

Hello I tried rsync (version 3.0.7) on OpenServer 5.0.7. Compile the version of samba.org and use of aljex.com. Both versions do not work reliably, sometimes show errors and stop copying (sometimes works) The OSR5.0.7 I'm using VirtualBox, I do not think the problem is in virtualization, but... (0 Replies)
Discussion started by: flako
0 Replies

5. Shell Programming and Scripting

Rsync to copy specific subfolders and files to new directory

RootFolderI: RootFolderI/FolderA/Subfolder1/Subsub1/JPG1.jpg -> want this jpg RootFolderI/FolderA/Subfolder2/Subsub1/JPG2.jpg -> want this jpg RootFolderI/FolderA/Subfolder2/Subsub2/JPG3.jpg . . . RootFolderI/FolderB/Subfolder1/Subsub1/JPG4.jpg -> want this jpg ... (1 Reply)
Discussion started by: blocnt
1 Replies

6. UNIX for Beginners Questions & Answers

Rsync added new folders after copy?

Hi guys, Don't really know much about unix or anything, just starting to mess around a little bit to have more understanding in general. So, I tried using rsync to copy my macbook pro backup/clone from an external drive I have to another external drive. I ended up using... "sudo rsync -a... (1 Reply)
Discussion started by: cbjeebs
1 Replies

7. Shell Programming and Scripting

Rsync - how to copy hidden folder or hidden files when using full path

Hello. I use this command : rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command. And no full source directories are in use, only some files. Source example... (2 Replies)
Discussion started by: jcdole
2 Replies

8. Ubuntu

Rsync - not copy certain files

I use this rsync --progress -r -u /media/andy/MAXTOR_SDB1/Ubuntu_Mate_18.04/* /home/andy/Ubuntu_18.04_Programs/Is there a way to have it not copy files such as these? 2019-02-25_11:04 I found this but can not figure out what it's doing. 3. Exclude a specific file To exclude a... (5 Replies)
Discussion started by: drew77
5 Replies

9. Shell Programming and Scripting

Copy local files to single remote host but multiple folders using rsync

I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command. Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles" rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
XHFS(1) 						      General Commands Manual							   XHFS(1)

NAME
xhfs - graphical interface for manipulating HFS volumes SYNOPSIS
xhfs [left-path [right-path]] DESCRIPTION
xhfs presents a graphical front-end for browsing and copying files on HFS-formatted volumes. The display is divided into two parts, left and right, which can each independently view a directory on either an HFS volume or the host (UNIX) filesystem. Double-clicking the name of a directory in either view will open that directory. A pop-up menu at the top of each direc- tory view can be used to navigate to any directory between the current and the beginning of the hierarchy. Text files can be viewed by double-clicking them. Any file or set of files can be copied to the directory shown in the other view by selecting them and clicking the "Copy" button. Copying is performed according to the selected copy mode: MacBinary II The file(s) will be copied using the MacBinary II format. This is the recommended mode for transferring arbitrary Macintosh files. BinHex The file(s) will be copied using the BinHex format. This mode should be used to encode Macintosh files into strict ASCII format. Text In this mode, only the data fork(s) of the selected file(s) are copied. Furthermore, translation is performed on the data's end-of- line characters to conform to the standard for text files on the destination. Raw Data In this mode, only the data fork(s) of the selected file(s) are copied. However, no translation is performed whatsoever on the data. Automatic A copy mode will be selected automatically according to a set of heuristics. SEE ALSO
hfsutils(1), hfs(1) AUTHOR
Robert Leslie <rob@mars.org> HFSUTILS
02-Apr-1996 XHFS(1)
All times are GMT -4. The time now is 11:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy