Search Results

Search: Posts Made By: cpabrego
1,863
Posted By cpabrego
Yes I am packing up a series of case directoreis...
Yes I am packing up a series of case directoreis and excluding a file with in all of them called runtpe. When I run the script manually it works like it is suppose to. But when I excute the bash...
1,863
Posted By cpabrego
I don't understand what you mean can you...
I don't understand what you mean can you elaborate a bit I tried:

tar czvf PackUpCases case0* log* --exclude-runtpe
tar czvf PackUpCases case0* log* --exclude-from=runtpe

and they both...
1,863
Posted By cpabrego
Simple Bash Script:ignoring --exclude?
My super simple script works fine when I type it in manually but when I run it from a file as a script the --exclude option is ignored...what am I missing here?


#!/usr/bin/bash
tar czvf...
15,357
Posted By cpabrego
Solution
This solution works for me:

tar czvf <tar file name> <root folder or list of each folder> --exclude <filetoexclude>

use scp to download the file compressed files.

Then unpack...

tar...
15,357
Posted By cpabrego
Thanks for the input. I have tested the command...
Thanks for the input. I have tested the command and this it what it does.

It downloads all directories (e.g.,/dir1/dir2/dir3/dirofinterest), it does not download any of the files in dir1 dir2 or...
15,357
Posted By cpabrego
Is this possible with SCP?
I normally download a directory recursively using:

scp -r <name>@host:<path> .

This has worked fine. As everyone knows this will download all of the directory named in <path> and all of the...
4,280
Posted By cpabrego
Thanks for the replies, a late update I finally...
Thanks for the replies, a late update I finally found time to run the scripts and for my needs this worked best.


#!/bin/sh
DIRS="case*"
DIRS="$DIRS"
for d in $DIRS; do
cd $d
...
12,538
Posted By cpabrego
Thanks for the info guys, I did not realize the...
Thanks for the info guys, I did not realize the host was required to enable ssh. They very well could be the issue, I can verify thanks!
12,538
Posted By cpabrego
Well to be honest I do not know if I need to...
Well to be honest I do not know if I need to issue a sudo command. I believe the commands you listed are the same as the one's I used in my original post. I am getting a message that says the...
12,538
Posted By cpabrego
SCP -r from Secure FTP site
Hi all,

My problem is simple. I would like to download the contents of a directory on an ftp site. I can access the site through windows, but there are many files and it would be too tedious to...
4,280
Posted By cpabrego
Thanks for the info. The options for submit are...
Thanks for the info. The options for submit are strait forward and are in the form: submit -n 8 filename. Where file name will be constant in every case*.

One thing you pointed out will come into...
4,280
Posted By cpabrego
Thanks for the reply! Yes I meant to say...
Thanks for the reply!

Yes I meant to say shell script. The system is a UNIX system, Submit is also a shell script as you mention that I am using to submit jobs. I think the code you proposed...
4,280
Posted By cpabrego
Simple Shell Script Help Needed!?!
I have access to a large unix parallel computing cluster. To submit jobs I simply run a script called "submit" followed by options relevant to that particular job. Very simple and easy, "submit"...
Showing results 1 to 13 of 13

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