The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script for parsing directories one level and finding directories older than n days ejianu Shell Programming and Scripting 5 08-26-2009 12:24 PM
check if multiple directories exist else create missing directories ramky79 Shell Programming and Scripting 7 08-19-2009 03:23 PM
Working with directories, need assistance jpgleon Shell Programming and Scripting 4 08-17-2009 05:20 PM
chmod to parent and sub directories ? varungupta UNIX for Advanced & Expert Users 2 03-27-2009 05:15 AM
shell-init: could not get current directory: getcwd: cannot access parent directories babu.knb SUN Solaris 6 10-03-2008 11:11 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-22-2009
mr_manny mr_manny is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 144
wget assistance to manage parent directories...

looking for a wget option that does not retrieve entire path from source box...


currently working with the following syntax:
Code:
wget --no-verbose --mirror --no-parent --no-host-directories --page-requisites --ftp-user=mis --ftp-password=secret  ftp://192.x.x.x/tmp/test

is anyone familiar with the syntax needed to recursively retrieve the directory test, without /tmp ?


thanks in advance,
manny

---------- Post updated at 09:59 AM ---------- Previous update was at 09:33 AM ----------

--cut-dirs=2 was all that was needed

happy thursday,
manny

Last edited by Yogesh Sawant; 3 Weeks Ago at 11:09 AM.. Reason: added code tags
Reply

Bookmarks

Tags
wget unix replication

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0