Files
doc-exports/docs/obs/tool-obsutil/obs_11_0060.html
weihongmin1 a41a4e0331 OBS Util 0115 Version
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2026-02-17 10:18:57 +00:00

14 lines
1.5 KiB
HTML

<a name="obs_11_0060"></a><a name="obs_11_0060"></a>
<h1 class="topictitle1">Using obsutil to Upload a Symbolic Link</h1>
<div id="body1561967257980"><p id="obs_11_0060__p8060118">obsutil supports the upload of the real path to which the symbolic link points when a file or folder is uploaded. You can specify the command-level parameter <strong id="obs_11_0060__b18972971195">link</strong> to implement this function when running commands for upload or incremental synchronization upload.</p>
<div class="note" id="obs_11_0060__note1424995012394"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="obs_11_0060__ul19103181324418"><li id="obs_11_0060__li31031713114413">obsutil can identify symbolic links pointing to folders. If a symbolic link points to a folder, obsutil recursively scans the contents in the folder.</li><li id="obs_11_0060__li1672762110457">Avoid the symbolic link loop of a folder, otherwise, the upload will exit due to panic. If you do not want the system to panic, set <strong id="obs_11_0060__b619333818563">panicForSymbolicLinkCircle</strong> to <strong id="obs_11_0060__b181931638135618">false</strong> in the configuration file.</li><li id="obs_11_0060__li1729792924812">The symbolic link and the shortcut on the Windows OS are two different types. obsutil cannot identify the shortcut on the Windows OS.</li></ul>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_11_0033.html">Best Practices</a></div>
</div>
</div>