RDUP-UP(1)
β¨ RDUP-UP(1) β¨
okay bestie, so this is rdup-up from the rdup manual, and it's genuinely one of my faves π
π NAME π
rdup-up β update a directory tree with a rdup archive. literally that's the whole vibe.
πΈ SYNOPSIS πΈ
rdup-up [OPTION]... DIRECTORY
π¦ DESCRIPTION π¦
So with rdup-up you can update an (possibly) existing directory structure with a rdup archive. that's it. that's the job. no cap. π
important!! the rdup archive has to be given to rdup-up's standard input. like, stdin, not a filename argument. iykyk.
π Username and uids π
rdup outputs both the user name and uid, and the receiving system (which may be a totally different system, like bestie you never know) checks if the user name and uid match. if the user name and uid don't match, the (numeric) uid is used on the file. same energy for the group name and gid. periodt.
π«Ά File ownership π«Ά
Because rdup supports backups via SSH, this situation can lowkey happen: locally rdup is run as root, but rdup-up is run as a non-root user (the one logged in via SSH). in that case the original owner- and group name can not be set. if this happens rdup-up will create a ._rdup_. file which contains the user/group information β also see the -u flag for rdup-tr (and rdup). it's giving "sorry i couldn't chown, here's a note instead" π
π₯ OPTIONS π₯
-nβ do a dry-run and do not create anything on disk. window shopping only, we're not buying ποΈ-tβ create DIRECTORY (alamkdir -p) if it does not exist.-s Nβ strip N path components from a pathname. if the resulting pathname is empty after this operation it is skipped. but be careful though, because of the following structure:
/foo
/foo/bar
/foo/bar/bla.txt
/foo/blork/bla.txt
with rdup-up -s2 this will leave:
<empty>
<empty>
/bla.txt
/bla.txt
and the last bla.txt will over write the previous one, this will happen without warnings. π not me warning you right now though. this is a silent overwrite situation, bestie, so pay attention.
-r PATHβ this option is related to the-soption, but works different. the string PATH is removed from (the beginning of) each pathname. with-r /home/backupthe pathname/home/backup/bin/mycmdbecomes/bin/mycmd. the same could be done with-s 2, but then you need to count the slashes. note-sis always performed before-r. π§-vβ be more verbose and echo the processed files to standard output. she's chatty and we love that for her β¨-Tβ show a table of contents of the rdup stream received (alatar -tf -). with-Tthe directory argument is optional.-Tunsets any verbose (-v) options. π-uβ do not create a._rdup_.file which contains user/group information when failing tochownthe actual file or directory. useful when restoring a backup when you do not want to see._rdup._-files being created.-qβ silencechownfailures even when running as root. this can be helpful when the file system does not implementchownor disallows it (sshfsfor instance). shhh, no drama, no errors π-hβ a short help message.-Vβ show the version.
β EXIT CODE β
rdup-up return a zero exit code on success, otherwise 1 is returned. zero = slay, one = not slay. π
π AUTHOR π
Written by Miek Gieben.
π REPORTING BUGS π
Report bugs to <miek@miek.nl>.
π SEE ALSO π
http:/www.miek.nl/projects/rdup/ is the main site of rdup. also see rdup(1), rdup-tr(1) and rdup-backups(7).
π COPYRIGHT π
Copyright (C) 2005-2010 Miek Gieben. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Licensed under the GPL version 3. See the file LICENSE in the source distribution of rdup.
and that's the whole page bestie!! this is version 1.1.14, dated 13 Dec 2008 β vintage but iconic, we stan a classic π«Άβ¨
π¦ where this page comes from
- nixos 26.05: rdup 1.1.15
- ubuntu jammy: rdup 1.1.15-1ubuntu2
- ubuntu noble: rdup 1.1.15-1ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms