This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
cd /Volumes/TV-MOVIES/TV/ | |
#find . -name ".?*" -print | while read line | |
#do | |
#rm "$line" | |
#echo "${line}" | |
#done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KIOSKEMAG="http://youkioske.com/revistas-masculinas/gq-magazine-november-2010-3/" | |
curl -o tempfile -s "${KIOSKEMAG}" | |
TITLE=$(cat tempfile | grep "href="'"" ' | head -n1 | cut -f2 -d\> | cut -f1 -d\< ) | |
echo "Title is: ${TITLE}" | |
ISSUUBASE="http://image.issuu.com/"\ | |
$(curl -s \ | |
$(curl -s \ | |
$(cat tempfile |\ | |
grep srcIframe | grep var | sed -e's|^.*\(http.*\)".*|\1|g') |\ | |
grep http | sed -e's|.*\(http:.*\)\?mode=embed.*|\1|g') |\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
### Get Lists | |
ls -1 {episodes,movies}.txt | head -n 1 | while read LIST | |
do | |
### Go Through Lists | |
cat "${LIST}" | sort | while read FILE | |
do | |
### Get filename | |
FILENAME=${FILE##*/} |
NewerOlder