Software :: Correct Lftp Syntax

Oct 9, 2010

was trying to figure out how to use
Code:
lftp mirror -v ----remove-source-files sftp://user@ftp.site.com
I keep getting "unknown option --remove-source-files. Could anyone help?

View 1 Replies


ADVERTISEMENT

Networking :: Correct Syntax For An NFS Shared Directory?

Jun 1, 2009

If I want to share a directory called /home/me, would I go to my /etc/exports file and share /home/me/* or would I share /home/me ? I am unsure of how to type this into the file.

View 2 Replies View Related

Fedora Networking :: Correct Syntax Of IP Address Range

Mar 30, 2010

I use F12 and I need help with correct syntax to specify range of IP address in hosts.allow or hosts.deny or in /etc/exports file eg. 192.168.1.100 to 192.168.1.255.

View 13 Replies View Related

Ubuntu :: Correct Syntax For Regex In Shell Script?

Nov 5, 2010

This command works to find files that have been updated in past 90 minutes:

Code:
find ( ! -regex '.*/..*' ) -type f -mmin -90
What changes need to be made to set this as an alias in, say, .cshrc file? I'm getting:

[code]....

View 5 Replies View Related

Applications :: Correct Syntax For Scheduled Cron Jobs

May 25, 2010

I need to create the following cron jobs:

job #1: runs Mon, Tue, Wed, Thu, Fri, Sun at 9PM every month except for 15th
job#2: runs on 15th of each month at 9PM
job #3: runs every Saturday at 6PM every month

What is the correct syntax for this kind of scheduled cron jobs?

View 7 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

Ubuntu :: How To Install LFTP Correctly?

Mar 8, 2010

Can anyone run me through the process to install lftp correctly with all the correct support for SSL and SSH connections?
I am using the newest version of Ubuntu.

View 4 Replies View Related

General :: Scripted LFTP With Watchdir

Jun 1, 2011

Really new to linux but I'm learning quite a bit and fairly fast. This is my first question on these forums and I hope I can get pointed in the right direction.Currently I run ubuntu 10 and currently I connect to my box via putty, and manually get files from 1 central ftp and then I take the files there and manually connect to 5 different ftps and send them out. I'm looking to figure out a solution where I can just dump the files into a particular directory on my box like a rtorrent watchdir and a script will pickup the new file and ftp it to all the places I need it to go.

I want the script to run in the background and just know a new file hit the directory and take care of it. To save time currently I'm using lftp and i have bookmarks saved with pw for all the ftps.

View 8 Replies View Related

Ubuntu :: Possible To Install LFTP With OpenSSL Support

Sep 26, 2010

I asked on irc, and received a sad 'not unless the version in synaptics is with ssl'. Is it not possible to change this ? - or is the only way out to compile/build it yourself?

View 1 Replies View Related

Ubuntu Networking :: Lftp: Cannot Connect To FTPES Server

May 27, 2011

My host has enabled FTPES [URL]. I would like to use lftp to securely upload my files to the host. However, lfpt hangs at "`ls' at 0 [Connecting...]" when trying to connect. See report here: [URL]

I've already search this forum and the web for days, but there does not seem to be any explicit tutorial for lftp + FTPES.

I've tested filezilla and I can connect without any problems via FTPES. I'd rather use a command line tool like lftp, however.

From what I've gathered, the problem may be with the passive mode, and the fact that the response from the server does not reach my machine.

My machine is running Kubuntu and is behind a d-link router. I don't seem to be running any firewall (is that a problem for a personal computer?). I checked: the router's built-in firewall is disabled. I am not sure about the port forwarding issues, though.

I'd like to use your replies to write a small tutorial: I have found many posts by people experiencing similar problems, but none with an actual answer.

Another question: how can I make sure that any successful connection is indeed made via a secure channel. I can use lftp without problems when I don't use SSH/secure channels. Obviously, I don't want that. What tell-tale signs can I look to to ascertain that I am really securely connected?

View 2 Replies View Related

Software :: How To Set Lftp To Download Files In Specific Order?

Jan 18, 2010

I have the following option set in my ~/.lftp/rc
Code:
set mirror:order "*.rpm */"
Here, *.rpm files are given preference. The rest of the files are being downloaded by lftp in alphabetical order, not the custom order sent by my ftp server. Is there a way to make it download it in the order sent by my ftp server.I'm using proftpd and the files are sorted by size.

View 3 Replies View Related

Red Hat / Fedora :: LFTP From Linux To Mainframe (Data Contains Accent Characters)

Jun 9, 2010

I was wondering if someone can help me... I have a file that I am trying to LFTP from my Linux server to my Mainframe and the file is uploading but the data looks slightly corrupted..First off let me tell you the following text is French and it contains accent characters.Below is how the data looks when you view the data through vi or on the Mainframe:
factureNum

Note how the accent e is turned into a uppercase accent A and a copyright symbol.When I view the PC file in hex through Notepad ++ the turns into and the result is one character turning into two characters is a hex C3 and is a hex A9.

When I LFTP the file to the mainframe the characters are transferred and I end up with a hex 66 and a hex E4.The end result I am after is that I want to transfer my linux file, who's data looks like this on the linux server: factureNumro and like this when viewed on a PC: factureNumro to my mainframe and I want it to look the same as when I transfer it to the PC. Like this: factureNum.

View 2 Replies View Related

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

View 1 Replies View Related

Server :: LFTP Can't Connect To Proftpd Server (hangs)

Nov 28, 2010

I'm using ProFTPd as my FTP server on a CentOS 5 box. Since updating to version 1.3.3c, I seem to have very specific problems. Connections work quite fine with about any FTP client out there, including the basic ftp command from the Linux prompt. However, when trying to connect to that server with LFTP, things go wrong. When connecting, all I get is [Connecting] then [Logging in...] and then nothing. I have to add that SSL is forced off in lftp.conf (I read it could be the problem). I sometimes get a counter for reconnection, but it never works.

The command I use in lftp is : open -u <user>,<pass> <server_ip>, the ls for lftp to establish the connection. I don't see anything at all in the server's log. I just see "FTP session opened" and "FTP session closed" in /var/log/messages" and nothing in /var/log/secure. I can give you a strace if needed. Please keep in mind that the server WORKS with anything but LFTP and NCFTP (which I also tried).

View 10 Replies View Related

Debian :: How To Set VIM (Highlight Syntax And So On)

Sep 24, 2010

I cannot find how to set VIM so that it higlight syntax (for exapmle bash scripts). I installed VIM package by using aptitude, but I dont have file .vimrc in my home directory. I found out that settings have to be written in this file. I can use command in VIM :"syntax on" but VIM shows syntax terrible. I think that is cause by some color setting.

View 12 Replies View Related

OpenSUSE :: No Syntax Highlighting In Vim?

Jun 24, 2010

syntax on , is in ~/.vim file but still not syntax higlighting in vim a.cpp.Why?

View 3 Replies View Related

General :: Syntax For Find On Mac OS X

Mar 10, 2010

I have a project directory that contains source code and subdirectories of source code. I want to use the Unix program find to search recursively for the names of files of certain extensions. The versions of find on Linux and Mac OS X behave differently.

# Works in Linux
find . -type f -regex ".*.(py|html)$"
# Neither of these works in Mac OS X
find . -type f -regex ".*.(py|html)$"
find . -type f -regex ".*.(py|html)$"

How do I write this command so that it will run on Mac OS X (and hopefully on Linux too)?

View 2 Replies View Related

General :: Sed Syntax To Remove Xml

Mar 13, 2011

I'm trying to sanitize this output from it's metadata to plug this output into GreekTools, but I am getting stuck on sed.

View 2 Replies View Related

General :: Syntax Error In If Loop?

Mar 7, 2011

I have a requirement to check the following conditions..If my folders are not A and B then list files in the directory else no listing the filesso my if loop is some thing like this.

Code:
if [ $dirName = "C" && $dirName != "A" && != "B" ] then
ls -la

[code]....

View 1 Replies View Related

Fedora :: Syntax For Static IP Address?

Apr 3, 2011

In Windows Server 2008, I can configure a static IP address with the following syntax:Code:
netsh interface ipv4 set address="Local Area Connection" source=stati.10.10.11 55.255.255.0 10.10.10.1Besides editing a text file, is there a syntax I can run from terminal?

View 1 Replies View Related

General :: Remove Files Which Have A Certain Syntax

Jan 23, 2011

I have a couple of files which follow this syntax:

*_yyyy-mm-dd_hhhmmm.*

Example:

*_2010-01-01_00h10m.*
*_2010-01-01_01h10m.*
*_2010-01-01_02h10m.*

[Code].....

and delete the others. or maybe move them to a subdirectory to be safe...

View 2 Replies View Related

Ubuntu :: Sqlite Query Syntax ?

Feb 27, 2010

With this sqlite query ? I have these tables:

what is the query to list all cities and its neighboring cities like this?

View 5 Replies View Related

Ubuntu :: Add / Modify A Syntax Highlight?

Jul 4, 2010

I wanted to add/modify a syntax highlight for g

View 1 Replies View Related

Ubuntu :: Bash If/then Conditional Syntax?

Feb 7, 2011

I pride myself on at least trying to help myself before I ask, but I've been staring at this a long time, I'm just not getting any traction.I've literally got 3 linux references on my desk right now that say that I should be able to use if conditionals, for example

[ -d FILE ]True if FILE exists and is a directory.
[ -e FILE ]True if FILE exists.
[ -f FILE ]True if FILE exists and is a regular file.

[code]....

View 7 Replies View Related

Ubuntu :: Syntax Error When Deleting Dir?

Jun 1, 2011

I am trying to delete a dir (with the CLI), that contains many sub dirs and files:
Hello - DE Important Files Stuff (0000-0001)

I am using the command:
PHP Code:
sudo rm -rf Hello - DE Important Files Stuff (0000-0001)/ 

But I keep getting this error:
PHP Code:
-sh: Syntax error: "(" unexpected

The between the spaces in the file name isn't showing in the PHP code?!?

View 7 Replies View Related

General :: Why Is Find's Syntax So Strange

Feb 12, 2010

exec, a option of find command, takes a odd format as followsfind ... -exec command {} ;Is there any explaination about why it takes this kind of format, orsome obscure implication?

View 3 Replies View Related

Ubuntu :: Syntax Error On Done Statement

Nov 28, 2010

I have returned the below mentioned lines of code however I am receiving error "Syntax Error On Done Statement".

while:
do
clear
echo "-------------------------------------------------------------------"
echo "Main Menu"
echo "-------------------------------------------------------------------"
echo "[1] Today's Date"
echo "[2] Show files in the current Directory"
read yourch
case $yourch in

1) echo "Today is `date`,press a key ........";read;;
2) echo ls -l;read;;
*) echo "Select the yourch as 1 or 2";

View 3 Replies View Related

General :: A Point In Syntax In GNU Programs?

Jun 18, 2011

For some commands the command synopsis (syntax) is given like this:

command [a|b] [args ...]

I take mplayer (perhaps not GNU) to illustrate the point:

mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]
mplayer [dvd|dvdnav]://[title|[start_title]-end_title] [options]

An item inside square brackets is optional. The pipe sign is the 'or' logical connective (disjunction). But then, what is [cdda|cddb]?
If optional, I can omit it: it makes no sense because there are more the one possible synopsis for the command line.

View 7 Replies View Related

General :: LDAP Add - Invalid Syntax (21)

Apr 29, 2011

What is wrong with the following ldif file :

Code:
dn: dc=mydomain
objectclass: dcObject
objectclass: organization
o: My Ldap
dc: mydomain

dn: cn=Manager,dc=mydomain
objectclass: organizationalRole
cn: Manager

Because I get following output :
Code:
[root@1 ~]# /usr/bin/ldapadd -x -D "cn=Manager,dc=mydomain" -W -f /etc/openldap/basic.ldif
Enter LDAP Password:
adding new entry "dc=mydomain"
ldapadd: Invalid syntax (21)
additional info: objectclass: value #0 invalid per syntax

View 1 Replies View Related

General :: How Would Syntax Of Reverse Find Be

Jun 9, 2010

how would the syntax of reverse find be..i want to type a name and then find it and delete it from a file i have?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved