Hey,
Here are some tasks i use.
Deleted directory with the files on a shared folder.
Deleted files on a shared folder.
Defrag shared folder.
Backup dsm settings.
Here are some tasks i use.
Deleted directory with the files on a shared folder.
Code:
find "/volume1/Base" -name "OldVersions" -type d -exec rm -r {} \; -prune
Deleted files on a shared folder.
Code:
find "/volume1/Base" -name "[dD]esktop.ini" -type f -delete
Defrag shared folder.
Code:
/sbin/btrfs filesystem defragment -r /volume1/Base
Backup dsm settings.
Code:
/usr/syno/bin/synoconfbkp export --filepath="/volume1/Base/Backup inst DS218Plus/DS218Plus_"$(date +%Y%m%d)".dss"