瀏覽代碼

lazy update

master
John ShaggyTwoDope Jenkins 5 年之前
父節點
當前提交
aac7082be0
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      sortfiles

drop-o-matic.sh → sortfiles 查看文件

@@ -4,14 +4,14 @@ find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(jpg|png|gif|jpeg
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(deb|run|bin|rpm|sh|py)$" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(diff|patch)$" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -name "*.torrent" -exec mv -n -t /riddlebox/rt/watch {} +
find /riddlebox/Downloads/ -name "*.apk" -exec mv -n -t /riddlebox/run/android {} +
find /riddlebox/Downloads/ -name "*.jar" -exec mv -n -t /riddlebox/run/java {} +
find /riddlebox/Downloads/ -name "*.apk" -exec mv -n -t /riddlebox/bin/android {} +
find /riddlebox/Downloads/ -name "*.jar" -exec mv -n -t /riddlebox/bin/java {} +
find /riddlebox/Downloads/ -name "*.iso" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -name "*.swf" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(tar|zip|7z|rar|gz|xz|bz2|tgz)$" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(pdf|djvu|txt|doc|docx|fb2|epub|rtf)$" -exec mv -n -t /riddlebox/Dropbox/Text {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(html|htm|mht|mhtml|chm|maff)$" -exec mv -n -t /riddlebox/Dropbox/Text/pages {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(ttf|otf|woff)$" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(flv|mp4|avi|mkv|mov|webm|wmv)$" -exec mv -n -t /riddlebox/Vidoes {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(m4v|flv|mp4|avi|mkv|mov|webm|wmv)$" -exec mv -n -t /riddlebox/Vidoes {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(mp3|ogg|flac|sid|xm)$" -exec mv -n -t /riddlebox/Music {} +
exit 0

Loading…
取消
儲存