Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-23-2008
Registered User
 

Join Date: Nov 2007
Posts: 89
tcsh + completing a sub-directory entry

As part of a script Im designing, I am required to allow the command line to finish off part of a series of sub-directory entries.

Basically what I want to do is


cp /root/parent/part of subs name + other part of subs name/file /other_root/other_parent/other_sub/file


without facing any problems, however Im having difficulty trying to find an automated way to add on other part of subs name in order to complete the sub-directory name of the source.

If anyone could please give me some pointers, that would be highly appreciated
Sponsored Links
Closed Thread

Bookmarks

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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help in tcsh mahendrakamath UNIX for Dummies Questions & Answers 3 11-12-2007 04:05 PM
Completing ffmpeg installation noamon UNIX for Dummies Questions & Answers 1 01-29-2007 11:14 AM
tcsh kartik Shell Programming and Scripting 1 10-20-2004 06:05 PM
Terminate session on completing script deepsteptom Shell Programming and Scripting 4 06-08-2004 11:47 AM
tcsh and redirect Micky UNIX for Dummies Questions & Answers 1 06-26-2001 12:15 PM



All times are GMT -4. The time now is 08:08 PM.


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-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0