Shdir

Current Directory: ~ {% set current_full_path = namespace(value="") %} {% for dir in subpath.split('/') %} {% if dir %} {% if current_full_path.value == "" %} {% set current_full_path.value = dir %} {% else %} {% set current_full_path.value = current_full_path.value + '/' + dir %} {% endif %} / {{ dir }} {% endif %} {% endfor %}

{% if upload %}

Upload the file to the CWD

{% endif %}