ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install deldelファイル、リンク、ディレクトリを削除します。再帰削除には明示的なフラグが必要で、保護されたパスは拒否されます。
削除は「対象を確認 → 意図したものだけ削除 → 親ディレクトリを再確認」の3段階にすると安全です。
del <path>... [-r|-a] [-f]del <file>ファイル(またはシンボリックリンク)を削除
del <dir>空のディレクトリを削除
del <path>...複数のファイルと空ディレクトリをまとめて削除
del <dir> -r | del <dir> -aディレクトリを再帰的に削除
del <path>... -f指定したパスを削除し、すでに存在しない対象はエラーにしない
-f はすでに存在しない対象をスキップするため、スクリプトや繰り返し保守に適しています。
削除を始める前にすべての対象を検証します。保護されたルート、ベース、現在の作業ディレクトリ、および保護対象の親パスは削除できません。空でないディレクトリには -r または -a が必要です。成功後は現在のディレクトリを簡潔なフラット表示で示します。
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install del縮小パッケージをインストールします。ローカルリファレンスは含まれず、
install del -mこの公開済みバージョンを正確に指定してインストールします。
install del -v 1.2.1upgrade が互換性を確認し、必要な場合だけブロックを置換します。
upgrade delコアや他のモジュールに触れず拡張ブロックを削除します。
install del -u例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
cd \sandbox\tmp | @mf cleanup.tmp | del cleanup.tmpcleanup.tmp
+del sandbox/tmp/first.txt sandbox/tmp/folder/second.txttmp/
(mixed file paths removed; the directory itself remains)del sandbox/tmp/first.txt sandbox/tmp/folder -rtmp/
(file and directory targets removed in one recursive operation)del sandbox/tmp/missing.txt -f+
(missing target does not turn repeatable cleanup into an error)del . -r保護されたパスは削除できませんsandbox/tmp/README.txt例では、保護されたドキュメント用 /sandbox/ ワークスペースのファイルまたはディレクトリを使います。
lil-terminal sandbox temporary workspace
Commands in the public documentation use this directory for disposable copies,
archives, uploads and files created during examples. Review destructive commands
before running them and restore the sandbox from the release package when needed.