Dateien nach "/" hochladen
This commit is contained in:
29
neu.sh
Normal file
29
neu.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/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="log-$NOW.log"
|
||||
|
||||
|
||||
|
||||
|
||||
# Verschiebt alles in Por Root
|
||||
find /volumeUSB2/usbshare/* \( -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/System/#recycle/.*' \) \( ! -regex '/volume1/System/!NEU/.*' \) \( ! -regex '/volume1/System/!OLD/.*' \) -exec mv {} /volumeUSB2/usbshare/ \;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
95
nohup.out
Normal file
95
nohup.out
Normal file
@@ -0,0 +1,95 @@
|
||||
nohup: encode: No such file or directory
|
||||
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
|
||||
built on Aug 17 2013 12:46:22 with gcc 4.2.1
|
||||
configuration: --prefix=/usr/syno --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-indev=alsa --disable-outdev=alsa --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=ac3_float --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ccache-gcc
|
||||
libavutil 50. 40. 1 / 50. 40. 1
|
||||
libavcodec 52.120. 0 / 52.120. 0
|
||||
libavformat 52.108. 0 / 52.108. 0
|
||||
libavdevice 52. 4. 0 / 52. 4. 0
|
||||
libavfilter 1. 77. 0 / 1. 77. 0
|
||||
libswscale 0. 14. 0 / 0. 14. 0
|
||||
[mp3 @ 0x33fc0] max_analyze_duration reached
|
||||
Input #0, mp3, from '/volume1/Filesharing/Ho/Arto Paasilinna - Die Giftkoechin/Die Giftköchin 001.mp3':
|
||||
Metadata:
|
||||
title : Die Giftköchin 001
|
||||
genre : Speech
|
||||
track : 1
|
||||
Duration: 00:06:44.95, start: 0.000000, bitrate: 114 kb/s
|
||||
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
|
||||
Output #0, ipod, to '/volume1/Filesharing/Ho/Arto Paasilinna - Die Giftkoechin/Die Giftköchin 001.m4a':
|
||||
Metadata:
|
||||
title : Die Giftköchin 001
|
||||
genre : Speech
|
||||
track : 1
|
||||
encoder : Lavf52.108.0
|
||||
Stream #0.0: Audio: libfaac, 44100 Hz, stereo, s16, 64 kb/s
|
||||
Stream mapping:
|
||||
Stream #0.0 -> #0.0
|
||||
Press [q] to stop encoding
|
||||
size= 1kB time=0.19 bitrate= 43.8kbits/s
|
||||
size= 3kB time=0.49 bitrate= 58.4kbits/s
|
||||
size= 5kB time=0.70 bitrate= 61.9kbits/s
|
||||
size= 6kB time=0.84 bitrate= 63.0kbits/s
|
||||
size= 8kB time=0.98 bitrate= 63.3kbits/s
|
||||
size= 10kB time=1.23 bitrate= 64.1kbits/s
|
||||
size= 13kB time=1.60 bitrate= 65.1kbits/s
|
||||
size= 15kB time=1.95 bitrate= 65.0kbits/s
|
||||
size= 18kB time=2.32 bitrate= 64.7kbits/s
|
||||
size= 20kB time=2.55 bitrate= 64.3kbits/s
|
||||
size= 22kB time=2.79 bitrate= 64.2kbits/s
|
||||
size= 23kB time=2.95 bitrate= 63.9kbits/s
|
||||
size= 24kB time=3.07 bitrate= 63.8kbits/s
|
||||
size= 25kB time=3.27 bitrate= 63.4kbits/s
|
||||
size= 28kB time=3.60 bitrate= 63.7kbits/s
|
||||
size= 29kB time=3.76 bitrate= 63.6kbits/s
|
||||
size= 30kB time=3.90 bitrate= 63.7kbits/s
|
||||
size= 33kB time=4.25 bitrate= 63.9kbits/s
|
||||
size= 36kB time=4.53 bitrate= 64.3kbits/s
|
||||
nohup: encode: No such file or directory
|
||||
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
|
||||
built on Aug 17 2013 12:46:22 with gcc 4.2.1
|
||||
configuration: --prefix=/usr/syno --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-indev=alsa --disable-outdev=alsa --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=ac3_float --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ccache-gcc
|
||||
libavutil 50. 40. 1 / 50. 40. 1
|
||||
libavcodec 52.120. 0 / 52.120. 0
|
||||
libavformat 52.108. 0 / 52.108. 0
|
||||
libavdevice 52. 4. 0 / 52. 4. 0
|
||||
libavfilter 1. 77. 0 / 1. 77. 0
|
||||
libswscale 0. 14. 0 / 0. 14. 0
|
||||
[mp3 @ 0x33fc0] max_analyze_duration reached
|
||||
Input #0, mp3, from '/volume1/Filesharing/Ho/Arto Paasilinna - Die Giftkoechin/Die Giftköchin 001.mp3':
|
||||
Metadata:
|
||||
title : Die Giftköchin 001
|
||||
genre : Speech
|
||||
track : 1
|
||||
Duration: 00:06:44.95, start: 0.000000, bitrate: 114 kb/s
|
||||
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
|
||||
File '/volume1/Filesharing/Ho/Arto Paasilinna - Die Giftkoechin/Die Giftköchin 001.m4a' already exists. Overwrite ? [y/N] Not overwriting - exiting
|
||||
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
|
||||
built on Aug 17 2013 12:46:22 with gcc 4.2.1
|
||||
configuration: --prefix=/usr/syno --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-indev=alsa --disable-outdev=alsa --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=ac3_float --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ccache-gcc
|
||||
libavutil 50. 40. 1 / 50. 40. 1
|
||||
libavcodec 52.120. 0 / 52.120. 0
|
||||
libavformat 52.108. 0 / 52.108. 0
|
||||
libavdevice 52. 4. 0 / 52. 4. 0
|
||||
libavfilter 1. 77. 0 / 1. 77. 0
|
||||
libswscale 0. 14. 0 / 0. 14. 0
|
||||
[mp3 @ 0x33fc0] max_analyze_duration reached
|
||||
[mp3 @ 0x33fc0] Estimating duration from bitrate, this may be inaccurate
|
||||
Input #0, mp3, from '/volume1/Filesharing/Ho/Arto Paasilinna - Die Giftkoechin/Die Giftköchin 002.mp3':
|
||||
Metadata:
|
||||
title : Die Giftköchin 002
|
||||
genre : Speech
|
||||
track : 2
|
||||
Duration: 00:06:07.32, start: 0.000000, bitrate: 128 kb/s
|
||||
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
|
||||
File '/volume1/Filesharing/Ho/Arto Paasilinna - Die Giftkoechin/Die Giftköchin 002.m4a' already exists. Overwrite ? [y/N] Not overwriting - exiting
|
||||
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
|
||||
built on Aug 17 2013 12:46:22 with gcc 4.2.1
|
||||
configuration: --prefix=/usr/syno --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-indev=alsa --disable-outdev=alsa --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=ac3_float --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ccache-gcc
|
||||
libavutil 50. 40. 1 / 50. 40. 1
|
||||
libavcodec 52.120. 0 / 52.120. 0
|
||||
libavformat 52.108. 0 / 52.108. 0
|
||||
libavdevice 52. 4. 0 / 52. 4. 0
|
||||
libavfilter 1. 77. 0 / 1. 77. 0
|
||||
libswscale 0. 14. 0 / 0. 14. 0
|
||||
[mp3 @ 0x33fc0] max_analyze_duration reached
|
||||
36
porord1.sh
Normal file
36
porord1.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/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="log-$NOW.log"
|
||||
|
||||
# Entpackt und l<>scht rar,s nach erfolgreichen entpacken.
|
||||
# for RAR in `find /volume1/System/ \( -iname "*.rar" \) -type f \( ! -regex '/volume1/System/#recycle/.*' \) \( ! -regex '.*/@eaDir/*.*' \) \( ! -regex '/volume1/System/$RECYCLE.*' \) ` ; do cd `dirname $RAR`; unrar x -kb -o- '$RAR' && rm *.r?? ;
|
||||
|
||||
# L<>scht auch rar,s die noch so umherfliegen ohne oben gel<65>scht zu werden (weil schon vorhandene film datei).
|
||||
# find /volume1/System/ \( -iname "*.r??" \) -type f \( ! -regex '/volume1/Filesharing/#recycle/.*' \) -delete
|
||||
|
||||
# Verschiebt alles in Por Root
|
||||
find /volume1/System/* \( -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" -o -iname "*.rm" \) -type f \( ! -regex '/volume1/System/$RECYCLE.*' \) \( ! -regex '/volume1/System/!NEU/.*' \) \( ! -regex '/volume1/System/!OLD/.*' \) \( ! -regex '.*/@eaDir/*.*' \) \( ! -regex '/volume1/System/$RECYCLE.*' \) -exec mv {} /volume1/System/ \;
|
||||
|
||||
# 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/System/* -type d \( ! -regex '.*/@eaDir/*.*' \) \( ! -regex '/volume1/System/$RECYCLE.*' \) \( ! -regex '/volume1/System/!NEU.*' \) -size -2M -exec rm -rf "{}" \;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
25
porordEXT.sh
Normal file
25
porordEXT.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/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="log-$NOW.log"
|
||||
|
||||
# Entpackt und löscht rar,s nach erfolgreichen entpacken.
|
||||
# for RAR in `find /volumeUSB2/usbshare/ \( -iname "*.rar" \) -type f \( ! -regex '/volumeUSB2/usbshare/lost+found/.*' \)` ; do cd `dirname $RAR`; unrar x -kb -o- '$RAR' && rm *.r?? ; done >>/volume1/Backup/NAS_Scripte/LOG/$LOGFILE
|
||||
|
||||
# L<>scht auch rar,s die noch so umherfliegen ohne oben gel<65>scht zu werden (weil schon vorhandene film datei).
|
||||
# find /volume1/System/ \( -iname "*.r??" \) -type f \( ! -regex '/volume1/Filesharing/#recycle/.*' \) -delete
|
||||
|
||||
# Verschiebt alles in Por Root
|
||||
find /volumeUSB2/usbshare/*/* \( -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 '/volumeUSB2/usbshare/lost+found/' \) \( ! -regex '/volumeUSB2/usbshare/@eaDir/' \) \( ! -regex '/volumeUSB2/usbshare/@tmp/' \) -exec mv {} /volumeUSB2/usbshare/ \;
|
||||
|
||||
# L<>scht samples aus dem root.
|
||||
find /volumeUSB2/usbshare/ -iname "*sample*" -exec rm -r "{}" \;
|
||||
|
||||
#L<>scht alle ordner ohne inhalt
|
||||
# find /volumeUSB2/usbshare/* -type d -size -3100k -exec rm -rf "{}" \;
|
||||
#find /volumeUSB2/usbshare/* -type d -size -3100k -exec echo rm -rf "{}" \;
|
||||
41
porordF.sh
Normal file
41
porordF.sh
Normal file
@@ -0,0 +1,41 @@
|
||||
#!/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="log-$NOW.log"
|
||||
|
||||
# Entpackt und l<>scht rar,s nach erfolgreichen entpacken.
|
||||
# for RAR in `find /volume1/Filesharing/!!X!/ \( -iname "*.rar" \) -type f` ; do cd `dirname $RAR`; unrar x -kb -o- '$RAR' && rm *.r?? ; done
|
||||
#for RAR in `find /volume1/Filesharing/!!X!/ \( -iname "*.rar" \) -type f \( ! -regex '/volume1/System/#recycle/.*' \)` ; do cd `dirname $RAR`; unrar x -kb -o- '$RAR' && rm *.r?? ; done >>/volume1/Backup/NAS_Scripte/LOG/$LOGFILE
|
||||
|
||||
# L<>scht auch rar,s die noch so umherfliegen ohne oben gel<65>scht zu werden (weil schon vorhandene film datei).
|
||||
# find /volume1/System/ \( -iname "*.r??" \) -type f \( ! -regex '/volume1/Filesharing/#recycle/.*' \) -delete
|
||||
|
||||
# Verschiebt alles in Por Root
|
||||
|
||||
|
||||
find /volume1/Filesharing/!!X!/* \( -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 -exec mv {} /volume1/Filesharing/!!X!/ \;
|
||||
|
||||
# L<>scht samples aus dem root.
|
||||
find /volume1/Filesharing/!!X!/ -iname "*sample*" -exec rm -r "{}" \;
|
||||
|
||||
#L<>scht alle ordner ohne inhalt
|
||||
# find "/volume1/Filesharing/!!X!/*" -type d -size -3100k -exec echo rm -rf "{}" \;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user