Skip to main content
Formatted text. Grammar. Spelling.
Source Link
Paulo Tomé
  • 3.9k
  • 6
  • 28
  • 40

onOn my local machine I have some directories (with sub directoriessubdirectories) with many files (jpeg and nef), like:

1.jpg 1.nef 2.jpg 2.nef .... 

what I want to do is to sync on aan HD all files (both jpeg and nef) but after syncing, deleting on my local computer only the nef files and keep the jpg.

Is there a way to combine this with --remove-source-files?

on my local machine I have some directories (with sub directories) with many files (jpeg and nef), like:

1.jpg 1.nef 2.jpg 2.nef .... 

what I want to do is to sync on a HD all files (both jpeg and nef) but after syncing, deleting on my local computer only the nef files and keep the jpg.

Is there a way to combine this with --remove-source-files?

On my local machine I have some directories (with subdirectories) with many files (jpeg and nef), like:

1.jpg 1.nef 2.jpg 2.nef .... 

what I want to do is to sync on an HD all files (both jpeg and nef) but after syncing, deleting on my local computer only the nef files and keep the jpg.

Is there a way to combine this with --remove-source-files?

Source Link
matteo
  • 103
  • 2

rsync remove only some file extensions from source after syncing

on my local machine I have some directories (with sub directories) with many files (jpeg and nef), like:

1.jpg 1.nef 2.jpg 2.nef .... 

what I want to do is to sync on a HD all files (both jpeg and nef) but after syncing, deleting on my local computer only the nef files and keep the jpg.

Is there a way to combine this with --remove-source-files?