- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- only use shell script to ftp directories and files
Operating System - HP-UX
1753816
Members
8568
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2002 12:30 PM
тАО03-28-2002 12:30 PM
only use shell script to ftp directories and files
I have the same question with Shawn,
but I just want to use unix shell script
so how to do that
I am looking for a script which can do:
Working on the unix server side, ftp directories and files from window NT first, and make the same directories with window NT on the server side at the same time.
Your reply will be really appreciated.
Catherine
but I just want to use unix shell script
so how to do that
I am looking for a script which can do:
Working on the unix server side, ftp directories and files from window NT first, and make the same directories with window NT on the server side at the same time.
Your reply will be really appreciated.
Catherine
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2002 12:38 PM
тАО03-28-2002 12:38 PM
Re: only use shell script to ftp directories and files
Hi:
If you simply use the 'Search' button and enter 'FTP and script' and select a Boolean search; you will find many examples in the Forums.
If you simply use the 'Search' button and enter 'FTP and script' and select a Boolean search; you will find many examples in the Forums.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2002 04:25 PM
тАО03-28-2002 04:25 PM
Re: only use shell script to ftp directories and files
Think the trick is to use
tar cBf junk .
then ftp to the host and put junk where you want it to start then !tar xBf junk
Never tried it but looks like it should work tho not sure you need the B. The "." after the tar cbf junk is part of the command.
Simpler with rsh if you have that option. See
http://www.nevis.columbia.edu/cgi-bin/man.sh?man=1+tar
Ron
tar cBf junk .
then ftp to the host and put junk where you want it to start then !tar xBf junk
Never tried it but looks like it should work tho not sure you need the B. The "." after the tar cbf junk is part of the command.
Simpler with rsh if you have that option. See
http://www.nevis.columbia.edu/cgi-bin/man.sh?man=1+tar
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP