Search Results

Search: Posts Made By: binary-ninja
4,973
Posted By Chubler_XL
Try this: #!/bin/bash wget -q...
Try this:

#!/bin/bash
wget -q "http://www.flickr.com/photos/davenportuniversity/sets/72157629564160622/" -O -| grep -o 'http[^"]*_s.jpg' | sed 's/_s.jpg/.jpg/' | while read id
do
echo...
2,639
Posted By jim mcnamara
Use the --exclude option on inotifywait. ...
Use the --exclude option on inotifywait.


inotifywait --exclude '(*docx$|*doc$)' [other options.....]
894
Posted By yazu
A sketch (not tested): cd USERS_DIR while...
A sketch (not tested):
cd USERS_DIR
while read userdir; do
if [ -d "$userdir" ]; then
subdir="$userdir"/`echo "$userdir" | sed 's/^\(.\).*\.\(.*\)$/\1\2/'`
if [ -d "$subdir" ]; then
...
905
Posted By maskofzorro
try for i in `cat /tmp/1.txt`; do cat $i |mailx...
try
for i in `cat /tmp/1.txt`; do cat $i |mailx -s $i me@company.com; done
3,253
Posted By EAGL€
awk -F"[/:]" '{print $2}' foo.txt >> outfile ...
awk -F"[/:]" '{print $2}' foo.txt >> outfile

[root@localhost ugr]# cat outfile
1312288621.V804I59c1aaa3M731667.sam.company.local
1312289223.V804I59c1aad4M503269.sam.company.local

this works...
1,383
Posted By bartus11
find /home -name "*.mp3" -exec rm -f {}...
find /home -name "*.mp3" -exec rm -f {} \;
1,575
Posted By bartus11
Can it be Perl?perl -nle '/^(.).*\.(.*)/;print...
Can it be Perl?perl -nle '/^(.).*\.(.*)/;print "$1$2"' username-list
3,102
Posted By agama
It's difficult to say for sure, but your problem...
It's difficult to say for sure, but your problem might be the quotes:

getfacl -R "$source" | setfacl -R --set-file=- "$dest"


I think they should go....

By quoting the variable $source, you...
3,102
Posted By agama
It looks to me like you're missing a do at the...
It looks to me like you're missing a do at the start of the while:


for (( c=1; c<=2; c++ ))
do
cat directorylist.txt | while read source dest share
do
cp -Rv "$source"...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 01:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy