クォータの設定確認について

お世話になります。

TS-h977XU-RPを使用し、

クォータを設定、使用量が高いユーザをコンソールからCSV出力することはできました。

その後、ユーザ毎に保有するファイル一覧を取得したいと考えています。

サポートに確認したところ、UIでの対応は現在ないとことでした。

sshコマンドで、一覧を出力する方法をご教示頂けませんでしょか?

よろしくお願いいたします。

@haya

After moving to the shared folder you want to check via ssh, you can use the following command to retrieve files for each user. Please give it a try.

find ./ -user qnapuser -type f -exec ls -la {} + 2>/dev/null | sort -k 5 -r | head -n 5

image

Please replace the username after -user with the one you want to retrieve.

The part at the end “|head -n 5” displays the top 5 files with the largest size. If you want to list “all” files, please remove this part.

Thank you.

返信、ありがとうございます。

必要なリストが出力されました。

今後ともよろしくお願いいたします。

解決されたようで何よりです。

他にも何かありましたら、お気軽にお問い合わせください。

引き続きよろしくお願いいたします。