Dateien nach "/" hochladen
This commit is contained in:
35
gesehen.sh
Normal file
35
gesehen.sh
Normal file
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
# usr/syno/bin
|
||||
# Link erstellen ln -s /volume1/Backup/NAS_Scripte/porord.sh /usr/syno/bin/porord.sh
|
||||
|
||||
# >>/volume1/Backup/NAS_Scripte/LOG/$LOGFILE
|
||||
|
||||
# Logfile
|
||||
NOW=`date +'%d.%m.%Y'`
|
||||
LOGFILE="logVersch-$NOW.log"
|
||||
|
||||
|
||||
# mv /volume1/Filesharing/!ALT_GESEHEN/* /volume1/Gesehen/
|
||||
#mv /volume1/Filesharing/!ALT_GESEHEN/* /pfad/.[!.]* /pfad/.??* /volume1/Gesehen/
|
||||
|
||||
|
||||
find /volume1/Filesharing/!ALT_GESEHEN/* \( ! -regex '.*/@eaDir/*.*' \) \( ! -regex '/volume1/Filesharing/!ALT_GESEHEN/$RECYCLE.*' \) -exec mv {} /volume1/Gesehen/ \;
|
||||
|
||||
|
||||
|
||||
# Verschiebt alles in Por Root
|
||||
#find /volume1/Filesharing/!ALT_GESEHEN/* \( -iname "*.mov" -o -iname "*.avi" -o -iname "*.mkv" -o -iname "*.wmv" -o -iname "*.iso" -o -iname "*.mp4" -o -iname "*.img" -o -iname "*.asf" -o -iname "*.mpg" -o -iname "*.mpeg" -o -iname "*.m4v" -o -iname "*.vob" -o -iname "*.flv" \) -type f \( ! -regex '/volume1/Filesharing/!ALT_GESEHEN/$RECYCLE.*' \) \( ! -regex '/volume1/Filesharing/!ALT_GESEHEN/!NEU/.*' \) \( ! -regex '/volume1/Filesharing/!ALT_GESEHEN/!OLD/.*' \) \( ! -regex '.*/@eaDir/*.*' \) \( ! -regex '/volume1/Filesharing/!ALT_GESEHEN/$RECYCLE.*' \) -exec mv {} /volume1/Gesehen/ \;
|
||||
|
||||
# Löscht samples aus dem root.
|
||||
#find /volume1/System/ -iname "*sample*" \( ! -regex '.*/@eaDir/*.*' \) \( ! -regex '/volume1/System/$RECYCLE.*' \) -exec rm -r "{}" \;
|
||||
|
||||
#Löscht alle ordner ohne inhalt#
|
||||
#find /volume1/Filesharing/!ALT_GESEHEN/* -type d \( ! -regex '.*/@eaDir/*.*' \) -size -2M -exec rm -rf "{}" \;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
10
incleer.sh
Normal file
10
incleer.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# /usr/local/bin/ ordner
|
||||
|
||||
|
||||
|
||||
# L<>scht ind dateien..
|
||||
find /volume1/TorrentInc/ -iname "*.torrent" -exec rm -r "{}" \;
|
||||
find /volume1/TorrentInc/ -iname "*added" -exec rm -r "{}" \;
|
||||
# rm -r /volume1/TorrentInc/*
|
||||
|
||||
31
m4b.sh
Normal file
31
m4b.sh
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
|
||||
# for m4b in $(ls -1 *.m4b); do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
|
||||
|
||||
|
||||
# find "/volume1/Filesharing/Ho/" -type f -iname '*.mp3' -exec ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
|
||||
#find "/volume1/Filesharing/Ho/" -iname '*.mp3' -print0 | xargs -0 -n1 for f in *.mp3; do ffmpeg -i "$f" -sameq "${f%.mp3}.m4a"; mv "${f%.mp3}.m4a" "${f%.mp3}.m4b";
|
||||
#done;
|
||||
|
||||
#rm $f # Wenn du die Dateien noch entfernen willst..
|
||||
|
||||
# echo "Processing $f file..."
|
||||
|
||||
|
||||
|
||||
# for i in *mp3 ; do ffmpeg -i $i -sameq $i.m4a ; done
|
||||
|
||||
# for /F %i in *mp3 ; do ffmpeg -i $i -sameq $i.m4a ; done
|
||||
|
||||
#find -name "*.mp3" -exec ffmpeg -i $file -sameq ${file%%.*}.m4a \;
|
||||
|
||||
|
||||
|
||||
|
||||
##############for f in *.mp3; do ffmpeg -i "$f" -sameq "${f%.mp3}.m4a"; mv "${f%.mp3}.m4a" "${f%.mp3}.m4b"; done;
|
||||
|
||||
|
||||
find . -type f -name "*.mp3" -exec ffmpeg -i "$f" -sameq "${f%.mp3}.m4a" \;
|
||||
Reference in New Issue
Block a user