Search Results

Search: Posts Made By: vanessafan99
5,014
Posted By vanessafan99
yes that seems to work thank you so much!!
yes that seems to work
thank you so much!!
5,014
Posted By vanessafan99
when i put this awk '{ sub(/\r/, ""); } /^d/ &&...
when i put this
awk '{ sub(/\r/, ""); } /^d/ && ($9 != ".") && ($9 != "..") { print "ftp://user:pass@hostname/directory1/" $9 }' .listing | wget -I - -r -N -nH --cut-dirs=1


it says

wget:...
5,014
Posted By vanessafan99
id like to save all the directories into the same...
id like to save all the directories into the same directory so that is ok

it says missing URL, but if the URL is being fed into it from the awk, what goes after the -I?
thanks!

awk '{...
5,014
Posted By vanessafan99
first i run this: wget --spider...
first i run this:
wget --spider --no-remove-listing ftp://user:pass@hostname/directory/


i think that worked, it made
=> “.listing”


then
awk '{ sub(/\r/, ""); } /^d/ && ($9 !=...
5,014
Posted By vanessafan99
I put the --spider but it says that still so...
I put the --spider but it says that still

so run wget withe the spider line
then again with it feeding into it?
like awk | wget?
or is that all just one command?
thanks!
5,014
Posted By vanessafan99
i get an error .listing has sprung into...
i get an error

.listing has sprung into existence.

it then saves it into index.html and index.html.1, etc. is there a way to make it go to the same file each time?
thanks!
5,014
Posted By vanessafan99
thanks! that does seem to work but your commands...
thanks! that does seem to work but your commands are more advanced than what i know
for example i dont really understand what exactly the awk is doing but it does seem to be getting the directories...
5,014
Posted By vanessafan99
the directories are constantly changing and it is...
the directories are constantly changing and it is a cron that runs regularly
so there arent always the same directories
also there would be hundreds of directories
i want to get these directories...
5,014
Posted By vanessafan99
Wget - how to ignore files in immediate directory?
i am trying to recursively save a remote FTP server but exclude the files immediately under a directory directory1

wget -r -N ftp://user:pass@hostname/directory1
I want to keep these which may...
1,925
Posted By vanessafan99
it doesnt look like what im looking for im not...
it doesnt look like what im looking for
im not trying to download a file but everything on the remote host recursively
1,925
Posted By vanessafan99
How to change wget download directory?
i have a cron that mirrors a site periodically

wget -r -nc --passive-ftp ftp://user:pass@123.456.789.0
i want to download this into a directory called /files
but when I do this, it always...
4,865
Posted By vanessafan99
PING to get ip address
I want to print the domain:ip for a list of domains in a text file.

the problem is godaddy has blocked the domains so the result of a ping is like this:

PING domain.com (68.178.232.99): 56 data...
6,212
Posted By vanessafan99
E.g., Before After -------------- ...
E.g.,


Before After
--------------
emily-yellow.extension emily-yellow.anotherword.extension/possiblysomethingelse
Emily-yellow.extension...
6,212
Posted By vanessafan99
bash thanks :)
bash
thanks :)
6,212
Posted By vanessafan99
Change case preserving the same case
how can i do a case insensitive search/replace but keep the same case?

e.g., i want to change a word like

apple-pie to orange-cake

but for the first word if the first letter of the keyword...
1,440
Posted By vanessafan99
delete ftp accounts created in cpanel
i want to delete the extra ftp accounts that are created in cpanel
e.g., when you go to cpanel->ftp accounts, any that are not there by default

how can i do this via commandline?

i am looping...
5,624
Posted By vanessafan99
thanks
thanks
5,624
Posted By vanessafan99
thanks when i just quote the find part, it...
thanks

when i just quote the find part, it says

File name too long



also another question, if i use a variable like
$word1, $word2

does that allow for words that have a slash?
like...
5,624
Posted By vanessafan99
making find/sed to include directory names with spaces
how can i make find/sed to include directory names with spaces

the command is like this
for i in `find wp-content/themes -type f -print0 | xargs -0 grep -l
-iE 'e'`;do sed -i -e...
1,989
Posted By vanessafan99
i'm connected to a server using a terminal on mac...
i'm connected to a server using a terminal on mac

editing a file using emacs

thanks!
1,156
Posted By vanessafan99
i need to automate this for hundreds of...
i need to automate this for hundreds of installations on a server

not sure how you would use Firefox's Live HTTP Headers for that
1,201
Posted By vanessafan99
Excluding a directory
i want to search files in public_html of all users and exclude any directories named "uploads" or "albums" (because there are many files in these), just skip them completely

now im doing something...
1,510
Posted By vanessafan99
Solved: how to save an output to a variable
i want to save the output of /scripts/whoowns domain.com to a username
like $user = /scripts/whoowns domain.com

but I'm not sure how to do that

This is inside a bash script

how can I get...
3,752
Posted By vanessafan99
well the prefix contains the _ the prefix is a...
well the prefix contains the _
the prefix is a string like cg_
1,989
Posted By vanessafan99
ok thanks! ---------- Post updated at 10:31...
ok thanks!

---------- Post updated at 10:31 PM ---------- Previous update was at 10:30 PM ----------

well, i am editing the file, like it is open in the terminal
and i want to paste in <<...
Showing results 1 to 25 of 73

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