Search Results

Search: Posts Made By: patwa
6,344
Posted By patwa
Thanks. Quotes for strings, I should have...
Thanks. Quotes for strings, I should have remembered that from programming!

H.
6,344
Posted By patwa
Renaming a file with spaces
Hello,

So I wrote down the lyrics to a new song I'm working on in notepad (Windows) before I forgot them, then wanted to upload it to my website.

In cygwin, I copied it to my lyrics folder. ...
3,355
Posted By patwa
Fixed with a restart. Thanks again. :) ...
Fixed with a restart.

Thanks again. :)

H.
3,355
Posted By patwa
Ah, I get it now, missed the > sign. BTW, I...
Ah, I get it now, missed the > sign.

BTW, I had to remove the previously corrupted archive, but:

rm -vf backup15062007.tar.gz

does not work. It says "Removed backup15062007.tar.gz" but it...
3,355
Posted By patwa
I don't follow, surely: gzip -cvf9...
I don't follow, surely:


gzip -cvf9 backup15072007.tar.gz backup15062007compress.tar.gz


is forcibly compressing the initial file (already compressed) with a compression level of 9 and...
2,949
Posted By patwa
Waiting between commands
Hello,

Taking my scripting one step farther, I want to run a number of commands one after the other, but the system should wait between commands. How do I do this? Do I use the /wait command, or...
3,355
Posted By patwa
Using gzip and my speakers have gone mad!
Hello,

I wanted to compress a directory which I did with:

tar -czvf backup15062007.tar.gz backup15062007/


I knew that you could specify the compression level with gzip so I then did:
...
2,924
Posted By patwa
Hi, I know you have to escapte certain characters...
Hi, I know you have to escapte certain characters in Unix (and programming) but how do you do it when it's in a file path?

I want to add this to my rsync command:

exclude=/patwa/.cpanel/

...
5,010
Posted By patwa
Hi, I got that. Thanks. But on a 'normal'...
Hi, I got that. Thanks.

But on a 'normal' unix system could it be done? Or would the /home directory by default be above all the drives (similar to 'My computer' in Windows)? How would you...
10,473
Posted By patwa
Hi, I had a look but there is no script command...
Hi, I had a look but there is no script command for cygwin I did find a C program that was supposed to be a port of the script command for cygwin, but it had a number of errors in the source code...
5,010
Posted By patwa
Can you navigate ABOVE the home directory?
Hello,

How do I navigate to the level ABOVE the home directory?

I have the following structure on my drive, bearing in my I'm using a cygwin port on Windows.

C:\
C:\cygwin
C:\cygwin\bin...
2,924
Posted By patwa
Thanks, looks like I'll have to do some debugging...
Thanks, looks like I'll have to do some debugging as the --exclude isn't working for rsync.

H.
2,924
Posted By patwa
Hi, thanks. that works. May I ask out of...
Hi, thanks. that works.

May I ask out of curiosity what the /bin/sh -x does? Is the -x to make it an executable? And what is the /bin/sh?

Also, please could someone help with the rsync...
2,924
Posted By patwa
Absolutely nothing happens. I just get the...
Absolutely nothing happens. I just get the command prompt again, no action, no login prompt, nothing.
2,924
Posted By patwa
I'm sorry, I don't follow. Could you...
I'm sorry, I don't follow.

Could you possibly demonstrate using the command I gave at the top, it has all the info there - I'm rsync'ing from my webhost to my local machine.

Default shell is...
3,779
Posted By patwa
Hi, I would say that before actually installing...
Hi, I would say that before actually installing anything to disk, many versions of Unix/Linux are available as 'Live CDs' where you can try out the distribution. You just download the Cd image and...
2,924
Posted By patwa
Made command into a script but now won't run
Hello,

After seeing in a Unix cheatsheet that I could add commands into a file and run that file as a command to save on typing, i tried it with this:


#! /bin/csh
# Backup website excluding...
10,473
Posted By patwa
Thanks, I'll check out this script command. I...
Thanks, I'll check out this script command. I presume it's a 'core' component meaning that it'll be in the default cygwin install, or do I have to install a specific package for it?

Thanks.

H.
10,473
Posted By patwa
Logging all console activity to a file - how?
Hi all,

Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via...
97,404
Posted By patwa
Thanks. I eventually just used a windows client,...
Thanks. I eventually just used a windows client, as i couldn't get the get command to work for a whole directory. How can I do it the other way around?

I have one terminal logged into my website...
97,404
Posted By patwa
Copying files from a remote server to local system with cygwin
Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc.

At...
19,043
Posted By patwa
Hi thanks for the link and I do appreciate it. ...
Hi thanks for the link and I do appreciate it.

Part of the problem is that I don't seem to have the man feature on my cygwin setup - when I type command man I just get an error saying it couldn't...
19,043
Posted By patwa
Copying files from laptop to remote server using SSH
Hello,

I'm sorry if this sounds like a very simple question, but I'm having some difficulty with it being a complete newbie to UNIx. I use Windows, and always have, but need some UNIX access for...
Showing results 1 to 23 of 23

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