Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
ゴミの管理のソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
ゴミの管理
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ソフトウェア一覧]] [[en:Trash management]] ファイルの誤った削除を防ぐために、ごみ箱を使用できます。複数のアプリケーション間の互換性を確保するために、[https://specifications.freedesktop.org/trash-spec/trashspec-latest.html FreeDesktop.org の Trash 仕様] に従うソフトウェア (CLI、GUI、またはライブラリ) を使用できます。 {{Note| 一部のアプリケーションは、ファイルシステムごとにゴミ箱を使用できます (仕様を参照してください)}} {{Warning| 別のファイルシステム上のファイルを削除する場合、ごみ箱を使用すると、ファイルがファイルシステム間で転送されるため、遅延が発生する可能性があります。この場合、ファイルシステムごとにごみ箱フォルダーを作成して使用することをお勧めします (仕様の {{ic|Trash directories}} を参照してください)}} == ゴミの作成 == * {{Pkg|glib2}} ファイルをごみ箱に移動する {{ic|gio Trash ''file...''}} コマンドを提供し、{{ic|gio Trash --empty}} はごみ箱を空にします。{{man|1|gio|COMMANDS}} の "ゴミ箱" も参照してください。{{Pkg|gvfs}} パッケージは、{{ic|gio Trash}} コマンドによるゴミ管理を完全にサポートするために必要です。 * {{Pkg|kde-cli-tools}} {{ic|kioclient5}} コマンドを提供します。これは、{{ic|kioclient5 move ''file'' Trash:/}} として使用して {{ic|''file''}} をごみ箱に移動できます。 * {{App|bashtrash|Bash で実装された Freedesktop 準拠のゴミ箱 |https://github.com/robrwo/bashtrash/blob/master/trash|{{AUR|bashtrash}}}} * {{App|shellDel|シェルスクリプトで実装された Freedesktop 準拠のゴミ箱 |https://github.com/Jorengarenar/shellDel|{{AUR|shelldel}}}} * {{App|trash-cli|[https://specifications.freedesktop.org/trash-spec/trashspec-latest.html FreeDesktop.org の Trash 仕様] を実装するコマンドラインインターフェイスツール|https://github.com/andreafrancia/trash-cli|{{pkg|trash-cli}}}} * {{App|trashman|Python のゴミ箱マネージャー |https://github.com/Kwpolska/trashman|{{AUR|trashman}}}} * {{App|rmtrash|Trash-put が GNU rm および rmdir と互換性を持つようになりました。|https://github.com/PhrozenByte/rmtrash|{{AUR|rmtrash}}}} * {{App|trash-d|D で書かれた、GNU rm の Drop-in 置換。互換性とはるかに優れたパフォーマンスに焦点を当てています。|https://github.com/rushsteve1/trash-d|{{AUR|trash-d}}}} == Trash space usage management == To prevent the trash can from using too much space, you can empty it yourself, or have a pruning policy === Software list === * {{App|autotrash|Tool to automatically purge old trashed files|https://github.com/bneijt/autotrash|{{AUR|autotrash}}}} === Criteria === {{Expansion|Add table with a list of criteria}} * make sure to have at least x MB of free space * delete files older than x days * only empty if you have less than x MB of free space (useful in combination of previous criteria) * maximum trash can size * file size * file type * original path === Automation === To automate emptying the trash can, you can use [[cron]], [[systemd/Timers]], or [[inotify]] (using inotify, only new deletion would trigger the trash can automation) == Troubleshooting == === Unable to find or create trash directory === ==== External drives ==== {{ic|/etc/fstab}} might not be set correctly. Note that {{ic|ID}} must be replaced by your own user id by {{ic|$ id}}. {{hc|/etc/fstab|2= # <device> <dir> <type> <options> <dump> <fsck> UUID=75667752-8b06-11ea-bc55-0242ac130003 /externalDrive ntfs-3g defaults,uid=ID 0 1 }} Make sure that the root directory of the drive contains {{ic|~/.Trash-1000/{expunged,files,info}}} and set relevant read permissions for the directory and sub-directory.
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:App
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Warning
(
ソースを閲覧
)
ゴミの管理
に戻る。
検索
検索
ゴミの管理のソースを表示
話題を追加