LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Is there a way to have an rsync prefix? (http://www.linuxquestions.org/questions/linux-general-1/is-there-a-way-to-have-an-rsync-prefix-624325/)

Meson 02-27-2008 06:29 PM

Is there a way to have an rsync prefix?
 
The suffix option is nice, but it's especially annoying when dealing with windows machines because it changes filetypes... Are there any solutions to adding a prefix to the beginning of backed up files rather than a suffix?

cygnus-x1 02-27-2008 06:32 PM

Quote:

Originally Posted by Meson (Post 3072002)
The suffix option is nice, but it's especially annoying when dealing with windows machines because it changes filetypes... Are there any solutions to adding a prefix to the beginning of backed up files rather than a suffix?

If you don't find what you are looking for in the options it is not that difficult (if you have any C programming knowledge) to go into backup.c of the rsync code and maybe another file or two and add it your self. Adding an option is not that difficult.

good luck

Doug


All times are GMT -5. The time now is 12:59 AM.