INSTALL-MIMIC(1)
π INSTALL-MIMIC(1) π
okay bestie, welcome to the General Commands Manual section for install-mimic β she's a little utility with main character energy and she's about to change how you install files, fr fr β¨
πΈ NAME πΈ
install-mimic β overwrite files while preserving the destination's ownership and access mode π«Ά
π SYNOPSIS π
install-mimic [-v] [-r reffile] srcfile dstfile
install-mimic [-v] [-r reffile] file1 [file2...] directory
install-mimic -V | -h
β¨ DESCRIPTION β¨
So like, the install-mimic utility copies the files you tell it about to the destination you tell it about β could be a file, could be a directory β kinda like install(1) does. But π
she's not like other girls: she preserves the ownership and access mode of the destination files.
Why is that iconic? Because it's so useful when you're updating files that have already been installed, using locally modified copies that might be owned by you (the current user) and not by the actual desired owner of the destination file (e.g. root). No cap. π₯
Options:
-hβ Display program usage information and exit. bye bestie π-rβ Specify a file to obtain the ownership and access information from; super handy when you're installing a new file that should match the other files chillin' in the same location. it's giving "dress like your friends" π-Vβ Display program version information and exit. slay.-vβ Verbose operation; display diagnostic output. she talks. a lot. we love her for it π£οΈ
π RETURN VALUES π
The install-mimic utility exits 0 on success, and >0 if an error occurs. so basically: zero = we ate, anything above zero = something went π
π¦ ENVIRONMENT π¦
The install-mimic utility's operation is currently not directly affected by its environment. no env vars pulling strings here, she's independent π
π FILES π
The install-mimic utility's operation is currently not directly affected by any files either. she doesn't read config, she doesn't snoop, she just does the thing. respect. β¨
π EXAMPLES π
Overwrite a system file with a local copy:
install-mimic ./install-mimic.pl /usr/bin/install-mimic
Overwrite several files with local copies with the same name:
install-mimic cinder/*.py /usr/lib/python2.7/dist-packages/cinder/
Install a new file similar to a system file:
install-mimic -v -r /usr/bin/install-mimic install-none /usr/bin/
π HISTORY π
The install-mimic utility was written by Peter Pentchev in 2015. a vintage queen πβ¨
π AUTHORS π
Peter Penchev β¨roam@ringlet.netβ© π«Ά
no cap, she's from Debian, dated June 2, 2015, and this was the INSTALL-MIMIC(1) page. mwah π
π
π¦ where this page comes from
- debian trixie: install-mimic 0.4.2-1 Β· BSD-2-Clause
- ubuntu noble: install-mimic 0.4.1-1 Β· BSD-2-Clause
- ubuntu questing: install-mimic 0.4.2-1
- ubuntu resolute: install-mimic 0.4.3-2 Β· BSD-2-Clause
- ubuntu stonking: install-mimic 0.4.4-1 Β· BSD-2-Clause
- π the page's license: BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms