1203 links
odea's Shaarli
Home
Login
RSS Feed
Tag cloud
Picture wall
Daily
Links per page:
20
50
100
page 1 / 1
5 results for tags
bash
x
Comment lire un fichier ligne par ligne
commande while read
while read line; do echo -e "$line\n"; done < file.txt
Wed Jan 15 16:10:52 2014 - permalink
-
-
-
http://www.commentcamarche.net/faq/5027-comment-lire-un-fichier-ligne-par-ligne
bash
regex recherche d'URL
egrep -o 'http://?([^\/]+\.[^\/]+)' foo.bar
Mon Jan 6 09:06:32 2014 - permalink
-
-
-
https://www.odea.fr/?TikAaQ
bash
rename.sh
#!/bin/bash
IFS=$'\n'
ls -1 "$1"|grep "-"|cut -f2 -d"/"|cut -f1 -d"-"|uniq > list.txt
for i in $(<list.txt)
do
read -p "creer "$1"/"$i" ?" RESPONSE
if [ "$RESPONSE" = "o" ];then
echo "---->mkdir "$1/$i" puis mv "$1/$i"-* "$1/$i/""
mkdir "$1/$i"
mv "$1/$i"-* "$1/$i/"
fi
done
Thu Oct 24 19:31:39 2013 - permalink
-
-
-
https://www.odea.fr/?2GRgBQ
bash
remplacer caractere sed rename
for i in OK-*;do mv $i `echo $i|sed 's/OK-//'`;done
Fri Oct 4 11:32:47 2013 - permalink
-
-
-
https://www.odea.fr/?XAFhrQ
bash
for rename
for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20;do mv E$i* "`basename "Lost - 05x$i"* .srt`".avi;done
oui je sais ya plus rapide/simple
Sun Sep 1 20:59:33 2013 - permalink
-
-
-
https://www.odea.fr/?qmzGfg
bash
Links per page:
20
50
100
page 1 / 1