Download: NAME SYNOPSIS DESCRIPTION
NAME wimupdate − Update a WIM image SYNOPSIS wimupdate WIMFILE [IMAGE] [OPTION...] [< CMDFILE] DESCRIPTION wimupdate, or equivalently wimlib-imagex update, modifies the specified IMAGE in the Windows Imag- ing (WIM) archive WIMFILE by adding, deleting, or renaming files or directories in it. IMAGE specifies the image in WIMFILE to update. It may be the 1-based index of an image or the name of an image. It may be omitted if WIMFILE contains only one image. You can use wiminfo(1) to list the images contained in WIMFILE. The modifications to perform on the WIM image are specified as a sequence of...
Author:
Walton Shared: 7/30/19
Downloads: 47 Views: 286
Content
NAME
wimupdate − Update a WIM imageSYNOPSIS
wimupdate WIMFILE [IMAGE] [OPTION...] [< CMDFILE]DESCRIPTION
wimupdate, or equivalently wimlib-imagex update, modifies the specified IMAGE in the Windows Imag- ing (WIM) archive WIMFILE by adding, deleting, or renaming files or directories in it. IMAGE specifies the image in WIMFILE to update. It may be the 1-based index of an image or the name of an image. It may be omitted if WIMFILE contains only one image. You can use wiminfo(1) to list the images contained in WIMFILE. The modifications to perform on the WIM image are specified as a sequence of commands, one per line, read in a text file from standard input. It is recommended that standard input be redirected from a file (CMDFILE), as shown above, rather than typing in commands interactively. Alternatively, to specify a command directly on the command line, see the -command option. AV AILABLE COMMANDS This section documents the commands that may appear in the CMDFILE described above. add [OPTION...] SOURCE DESTINATION Add a file or directory tree to the WIM image. SOURCE must specify the path to a file or directory on your filesystem. DESTINATION must specify the path inside the WIM image at which to add the file or direc- tory tree. If DESTINATION names an existing directory in the WIM image, then SOURCE must also name a direc- tory. This causes the contents of the SOURCE directory to be added to the DESTINATION directory. If DESTINATION names an existing nondirectory file in the WIM image, then SOURCE must also name a nondirectory file. By default, this causes the DESTINATION file to be replaced with the SOURCE file. Or, with -no-replace specified, this generates an error. If DESTINATION does not exist in the WIM image, then any prerequisite directories are created as needed to add the SOURCE at that location. The add command supports a subset of the options accepted by wimcapture; namely, -dereference, -unix-data, -no-acls, and -strict-acls. See wimcapture(1) for explanations of these options. In addition, the add command supports the -no-replace option, which causes the add command to refuse to overwrite existing nondirectory files in the WIM image. delete [OPTION...] PA TH Delete a file or directory tree from the WIM image. PA TH must specify the path inside the WIM image of the file or directory tree to delete. The available options for the delete command are: -force Do not issue an error if the path to delete does not exist. -recursive Delete the file or directory tree recursively; if not specified, an error is issued if the path to delete is a directory. rename OLD_PATH NEW_PATH Rename a file or directory tree inside the WIM image. OLD_PATH must specify the old path of the file or directory tree inside the WIM image, and NEW_PATH must specify the new path for the file or directory tree. This command follows the semantics of the POSIX rename (3) function; in particular, a pre-existing file at NEW_PATH will be deleted if present, except in certain cases such as attempting to rename a direc- tory to a non-directory, which is not allowed. There are no options available for the rename command. wimlib 1.11.0 January 2017 1,OPTIONS
The following options are accepted on the command line by wimupdate itself: -dereference Use -dereference for all add commands. -unix-data Use -unix-data for all add commands. -no-acls Use -no-acls for all add commands. -strict-acls Use -strict-acls for all add commands. -no-replace Use -no-replace for all add commands. -config=FILE Set the capture configuration file for all add commands. See the description of this option to wim- capture(1). -force Use -force for all delete commands. -recursive Use -recursive for all delete commands. -check Before updating the WIM, verify its integrity if it contains extra integrity information. Also include extra integrity information in the updated WIM even if it was not present before. -threads=NUM_THREADS Number of threads to use for compressing newly added files. Default: autodetect (number of pro- cessors). -rebuild Rebuild the entire WIM rather than appending the updated data to the end of it. Rebuilding the WIM is slower, but will save a little bit of space that would otherwise be left as a hole in the WIM file. See wimoptimize(1) for a more customizable way of rebuilding (and optionally recompressing) a WIM file. If running wimoptimize after wimupdate, there is no need to specify -rebuild to wimupdate. -command=STRING Instead of reading update commands from standard input, read a single update command directly from the string STRING specified on the command line. This option cannot be provided more than one time and cannot be used to specify more than one update command. Note that the STRING, as well as any paths containing spaces within the STRING must be appropriately quoted. If running from cmd.exe on Windows, you should use double quotes for the outer quotes and single quotes for the inner quotes. Example: wimupdate boot.wim 1 -command="add ’C:\My Dir’ ’\My Dir’" This option is provided for convenience only. Do not execute wimupdate multiple consecutive times, each time passing the -command option! This is inefficient. Instead, generate an update command file and provide it (on standard input) to a single invocation of wimupdate, as explained in this document. -wimboot-config=FILE If this option is specified, no commands shall be read from standard input, and instead the following command shall be executed: wimlib 1.11.0 January 2017 2, add FILE /Windows/System32/WimBootCompress.ini This sets FILE as the WIMBoot configuration file for the image. The [PrepopulateList] section of this file specifies path globs that shall not be extracted as WIMBoot pointer files (perhaps due to being needed early in the boot process). See the documentation for the -wimboot option of wimapply(1) for more information. -unsafe-compact Compact the WIM archive in-place and append any new data, eliminating "holes". This is efficient, but in general this option should not be used because a failed or interrupted compaction will corrupt the WIM archive. For more information, see the documentation for this option in wimoptimize(1).NOTES
wimupdate can be viewed as redundant with wimmountrw, since a WIM image can also be updated by mounting it read-write. However, wimupdate works on all platforms including Windows, whereas wim- mountrw only works on Linux. Symbolic links inside a WIM image are not dereferenced when being interpreted. So, for example, if you have a WIM image that contains a symbolic link "/Documents and Settings" -> "/Users" where "/Users" is a directory, then a subdirectory named "Public" in this directory must be specified as "/Users/Public" rather than "/Documents and Settings/Public". All paths to files or directories within the WIM image must be specified relative to the root of the image. However, the leading slash is optional, and both forward slashes and backslashes are accepted. In addition, on Windows, the paths are by default treated case-insensitively, while on UNIX-like systems, the paths are by default treated case-sensitively. The default case sensitivity may be changed by setting the WIM- LIB_IMAGEX_IGNORE_CASE environmental variable to 0 or 1. The command file (CMDFILE) is parsed by wimupdate itself and not by the system shell. Therefore, its syntax is limited. However, comment lines beginning with ’#’ are allowed, and it is also possible to quote arguments with whitespace inside them. On UNIX-like systems, you cannot use wimupdate to add files to an image directly from an NTFS volume using libntfs-3g, even though wimcapture supports capturing a full image this way. Except when using -unsafe-compact, it is safe to abort a wimupdate command partway through; how- ev er, after doing this, it is recommended to run wimoptimize to remove any data that was appended to the physical WIM file but not yet incorporated into the structure of the WIM, unless -rebuild was specified, in which case you should delete the temporary file left over.EXAMPLES
All the examples below show the update command file to be created as well as the wimupdate command to run to perform the updates. Delete two files from a WIM image: delete /setup.exe delete /sources/setup.exe $ wimupdate boot.wim 2 < update_commands.txt Add some files and directories to a WIM image. Note that the first path of each add command specifies the files to add, while the second path of each add command specify the locations at which to to add them inside the WIM image: add somedir /dir add somefile /dir/file $ wimupdate boot.wim 2 < update_commands.txt Rename a file inside a WIM image. wimlib 1.11.0 January 2017 3, rename /dir_in_wim/oldfile.txt /dir_in_wim/newfile.txt $ wimupdate boot.wim 2 < update_commands.txt Using additional features, such as comments, options, and overlays, and including extra integrity informa- tion in the updated WIM: # # This file specifies some changes to make to a WIM image. # # Add a new directory containing files I want in the image. # The quotes are necessary because the directory name # contains a space. add "My Directory" "/My Directory" # Add the contents of "Another Directory" to the # "/My Directory" we just created in the WIM image. Since # the destination path already exists, this performs an # overlay. add "Another Directory" "/My Directory" # Rename some file for some reason. rename /dir_in_wim/oldfile.txt /dir_in_wim/newfile.txt # Delete an unwanted directory. delete -recursive /Users/Me/Documents/Junk $ wimupdate boot.wim 2 -check < update_commands.txt SEE ALSO wimlib-imagex(1) wimcapture(1) wiminfo(1) wimmountrw(1) wimoptimize(1) wimlib 1.11.0 January 2017 4]15
Similar documents

Windows Installation Guide Installation Prep………………………...1 Step-by-Step Installer Guide………..1-3 Quick Start…………………………….3-4 Training & Resources.…………..……..5 1. Check for updates If you are installing from a product DVD, then it is important to check for a later version of your software, as the install

William Shakespeare Sonnets I - CLIV Sonnet I Sonnet V From fairest creatures we desire increase, Those hours, that with gentle work did frame That thereby beauty's rose might never die, The lovely gaze where every eye doth dwell, But as the riper should by time decease, Will play the tyrants to the

WinchX! Winch Launch Simulation for Flight Simulator X Version 1.0 24.07.2009 Peter Lürkens Peter . luerkens ( @ t – online . de ) WinchX! is an add-on for Microsoft Flight Simulator X for the simulation of a winch launch of a glider aircraft. It allows to use winch launch anywhere on the world with

01_260449 ffirs.qxp 2/26/08 12:05 AM Page i Canon® EOS 40D Digital Field Guide Charlotte K. Lowrie 01_260449 ffirs.qxp 2/26/08 12:05 AM Page i Canon® EOS 40D Digital Field Guide Charlotte K. Lowrie 01_260449 ffirs.qxp 2/26/08 12:05 AM Page ii Canon® EOS 40D Digital Field Guide Published by Wiley Pub

spine=.71” Get More and Do More at Dummies.com® Start with FREE Cheat Sheets Cheat Sheets include • Checklists • Charts • Common Instructions • And Other Good Stuff! To access the Cheat Sheet created specifically for this book, go to www.dummies.com/cheatsheet/windpower Get Smart at Dummies.com Dumm

This e-book is a 40-page excerpt of the printed book. This e-book is a 40-page excerpt of the printed book. Windows Home Server For Dummies® Chapter 10: Starting Remote Access & Chapter 17: Breaking into the Server ISBN: 978-0-470-18592-6 Copyright of Wiley Publishing, Inc. Indianapolis, Indiana Cha

BT Module Version update procedure 0.Download the BT update file. Unzip the file "BT firmware.zip". Save the file "FC6000S_01-27-20_64_Bx_xxxSx_PIONEER_44100_SAFEUPDATE.plf" onto the hardrive of the PC. 1.Bluetooth Memory clear *Note: Pairing information needs to be cleared. a.Turn the BU & ACC of t

VCM II Wireless User Manual Release: March 20, 2012 CONTENTS Introduction ... 3 Download and Install IDS Software ... 3 Prepare the COMPUTER for a Wireless VCM II ... 3 Configure A Wireless VCM II using the Supplied D-Link Wireless Adapter (If Equipped) ... 4 Instructions: First Time Connecting Wire

© 2002. All rights reserved. Black Box Corporation. 802.11: Wireless Networking A white paper 1.0 Introduction In the past decade, wireless has grown from an obscure and expensive curiosity into a practi- cal and affordable networking technology. Today’s most common wireless standard is 802.11b Ethe

Wireless Hacking Introduction to Wireless Hacking with Kali Linux Giulio D’Agostino @Julyo78 Wireless Hacking Pre-requisites NONE Post-reading You will know: Hidden networks offer a real challenge to a hacker. • What are the different flavors of wireless networks you'll encounter and how difficult i

The Who Formed 1964 in London, England Disbanded 1983 Years Active Group Members Roger Daltrey Pete Townshend Keith Moon John Entwistle Kenney Jones Genres Rock British Psychedelia, Album Rock, Mod, Pop/Rock, British Invasion, Hard Styles Rock, Rock & Roll Irreverent, Raucous, Humorous, Intense, Con

A guide to using WinGLink® Ver 2.1.1 By GEOSYSTEM SRL WinGLink® User's Guide, Release 2.1.1 This Manual is produced solely for WinGLink Users Reference and circulation is restricted to registered WinGLink® Users. Reproduction of the User’s Manual in any form is strictly forbidden. Copyright © 1998-2

Intel PROSet For Windows* Device Manager WMI Provider User‟s Guide Wh ite Paper Revi sion 1.8 Contents Introduction ... 3 Technology Overview ... 4 Web-based Enterprise Management ... 4 Windows Management Instrumentation ... 4 Installed Files ... 6 Namespaces ... 7 Locales and Localization ... 7 WBE

Complete WolfcamQL tutorial Written by earth_quake in November 2013. Update for WolfcamQL 10.3 Please distribute, but credit earth_quake. I hope this is useful! Post problems to “WolfcamQL :D” on QL forums, or visit #WolfcamQL in IRC ~Basics~ Important Terms Recording Demos ~WolfcamQL~ Installing Wo

Women in Love D.H. Lawrence This eBook was designed and published by Planet PDF. For more free eBooks visit our Web site at http://www.planetpdf.com/. To hear about our latest releases subscribe to the Planet PDF Newsletter. Chapter I SISTERS Ursula and Gudrun Brangwen sat one morning in the window-

Your ready-to-use technical support options. Look inside! Keep this handy! bc CustomerFirst ® Adobe CustomerFirst is a portfolio service options that come with every Adobe product you buy. Our award-winning service offers person-to-person telephone support, Web messaging, and unlimited 24-hour acces

Using VMware Workstation Player for Windows Workstation 12 Player This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs

Using VMware Workstation Pro 24 SEP 2018 VMware Workstation Pro 15.0 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this documentation, submit your feedback to email is hidden VMware, Inc. 3401 Hillview Ave. Palo

Modern Regression Techniques Using R Modern Regression Techniques UsingRAPractical Guide for Students and Researchers Daniel B. Wright and Kamala London © Daniel B. Wright and Kamala London 2009 First published 2009 Apart from any fair dealing for the purposes of research or private study, or critic

Getting Started with VMware Workstation VMware Workstation 10 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN

Workstation User’s Manual VMware Workstation 7.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN-000168-00 Yo

Writing Excel Macros with VBA, 2nd Edition By Steven Roman, Ph.D. Publisher : O'Reilly Pub Date : June 2002 ISBN : 0-596-00359-5 Table of Pages : 560 Contents To achieve the maximum control and flexibility from Microsoft Excel often requires careful custom programming using the VBA (Visual Basic for

Xcode Release Notes! About Xcode 6 Beta ! Supported Configurations! Xcode 6 requires a Mac running OS X 10.9.3 or OS X 10.10. ! Xcode 6 includes SDKs for OS X versions 10.9 and 10.10, and iOS 8. To develop apps targeting prior versions of OS X or iOS, see the section “About SDKs and the iOS Simulato

CITYSCAPE DISPLAY Set Safe Mode 9 GENERAL Set Cautious Mode 0 Pause on/off z Set Aggressive Mode - Time Controls 0, 1, 2, 3, 4, 5 Crawling 2 Switch Map View t Walking 3 Options O Running 4 UFOpaedia 1 Don’t Fire 5 Scroll W, A, S, Z Aimed-Shot 6 Quit Game q Snap-Shot 7 ® VEHICLE ORDERS Auto-Shot 8 Go

XmlStarlet Command Line XML Toolkit User’s Guide Mikhail Grushinskiy XmlStarlet Command Line XML Toolkit User’s Guide by Mikhail Grushinskiy Table of Contents 1. Introduction... 1 1.1. About XmlStarlet ... 1 1.2. Main Features... 1 1.3. Supported Platforms... 2 2. Installation... 3 2.1. Installation

,TITLE.15229 Page i Wednesday, September 12, 2001 1:12 PM XML Pocket Reference ,TITLE.15229 Page ii Wednesday, September 12, 2001 1:12 PM ,TITLE.15229 Page iii Wednesday, September 12, 2001 1:12 PM XML Pocket Reference Second Edition Robert Eckstein with Michel Casabianca Beijing • Cambridge • Farnh