forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
81 lines
6.5 KiB
HTML
81 lines
6.5 KiB
HTML
<a name="obs_11_0024"></a><a name="obs_11_0024"></a>
|
|
|
|
<h1 class="topictitle1">Deleting Part Records</h1>
|
|
<div id="body1542440101580"><div class="section" id="obs_11_0024__section1479112110815"><h4 class="sectiontitle">Function</h4><p id="obs_11_0024__p11772825481">You can use this command to delete part records from a specified directory.</p>
|
|
</div>
|
|
<div class="section" id="obs_11_0024__section1220752192216"><h4 class="sectiontitle">Command Line Structure</h4><ul id="obs_11_0024__ul8701213201118"><li id="obs_11_0024__li27013135110">In Windows<pre class="screen" id="obs_11_0024__screen8653829141115">obsutil clear [checkpoint_dir] [-u] [-d] [-c] [-config=xxx] </pre>
|
|
</li><li id="obs_11_0024__li14931417171112">In Linux or macOS<pre class="screen" id="obs_11_0024__screen36512381111">./obsutil clear [checkpoint_dir] [-u] [-d] [-c] [-config=xxx] </pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="obs_11_0024__section571274494420"><h4 class="sectiontitle">Examples</h4><ul id="obs_11_0024__ul1771284454418"><li id="obs_11_0024__li197121444144411">Take the Windows OS as an example. Run the <strong id="obs_11_0024__b369616289395">obsutil clear -u</strong> command to delete the part records of multipart upload tasks in the default directory.<pre class="screen" id="obs_11_0024__screen14712144424410"><strong id="obs_11_0024__b14713124416448">obsutil clear -u</strong>
|
|
|
|
Clear checkpoint files for uploading in folder [xxxxx]
|
|
Start at 2024-10-08 01:49:37.6541204 +0000 UTC
|
|
[==================================================================] 100.00% 0s
|
|
Succeed files is: 1 Failed files is: 0</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="obs_11_0024__section6559191102418"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_11_0024__table10831182114445" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_11_0024__row683212154419"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.1.4.1.1"><p id="obs_11_0024__p118329219446">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.4.2.1.4.1.2"><p id="obs_11_0024__p15137125919108">Optional or Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="61%" id="mcps1.3.4.2.1.4.1.3"><p id="obs_11_0024__p12832121184414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_11_0024__row108328217449"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_11_0024__p64495172515">checkpoint_dir</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_11_0024__p154316502519">Optional</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_11_0024__p17425512259">The folder where the part records reside. The default value is <strong id="obs_11_0024__b5631204151111">.obsutil_checkpoint</strong>, the same subfolder where obsutil commands reside.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_11_0024__row32014962815"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_11_0024__p82054920283">u</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_11_0024__p4454146102911">Optional (additional parameter)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_11_0024__p52015497289">Deletes the part records of all multipart upload tasks.</p>
|
|
<div class="note" id="obs_11_0024__note148764412348"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="obs_11_0024__p184871144203418">At the same time, the system attempts to delete the multipart upload tasks in the part records.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_11_0024__row1155655010280"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_11_0024__p1655610501288">d</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_11_0024__p124553652918">Optional (additional parameter)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_11_0024__p1055655042814">Deletes the part records of all multipart download tasks.</p>
|
|
<div class="note" id="obs_11_0024__note1018343543718"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="obs_11_0024__p18183183523719">At the same time, the system attempts to delete the fragments in the part records.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_11_0024__row5616115192814"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_11_0024__p561675112281">c</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_11_0024__p745815619297">Optional (additional parameter)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_11_0024__p14616651172819">Deletes the part records of all multipart copy tasks.</p>
|
|
<div class="note" id="obs_11_0024__note28911225113717"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="obs_11_0024__p12892112516371">At the same time, the system attempts to delete the multipart copy tasks in the part records.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_11_0024__row20579102283818"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_11_0024__p153951131317">config</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_11_0024__p12395135316">Optional (additional parameter)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_11_0024__p43952034313">The user-defined configuration file for executing a command. For details about parameters that can be configured, see <a href="obs_11_0035.html">Configuration Parameters</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="obs_11_0024__note6773171042911"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_11_0024__p9773171010299">You must configure at least one among the <strong id="obs_11_0024__b672519523478">u</strong>, <strong id="obs_11_0024__b10994195434711">d</strong> and <strong id="obs_11_0024__b114516582478">c</strong> parameters.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_11_0022.html">Auxiliary Commands</a></div>
|
|
</div>
|
|
</div>
|
|
|