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
ADVERTISEMENT
Jul 24, 2010
I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
View 5 Replies
View Related
Mar 29, 2011
I'm new to this community and very new to fedora Linux. I'm learning how to use this OS and am enjoying it immensely thus far, but it's not been an easy road lately with this speaker. See, my netbook has really crappy speakers so I picked up an Insignia USB Soundbar so I could get much better sound out of it. However, it won't recognize the USB and I'm assuming this means it can't download the necessary drivers in order to work. Now I've researched this and came across this forum:[URL]...
However, being as new as I am to this, I can't make heads or tails to what this means. If anyone can offer help to what this forum might be saying or how I might be able to get the speakers to work,
View 2 Replies
View Related
Jan 2, 2010
the VBO file that i want to burn into a dvd is around 7.9 gb. i want to know if it's possible to split them in order to burn the files into two diferent dvds.
View 5 Replies
View Related
Apr 7, 2011
In Windows 7, the options are pretty nice - ability to change track name, artist, composer, album, song number in album, etc., all from "Properties." In Ubuntu 10.10, Properties really gives you the bare minimum. Is there a program to download in order to get the same sort of basic options as one does from Properties in Windows 7?
View 4 Replies
View Related
Feb 28, 2010
i have been studying linux for 3 month ,so i have solved some problems related with server part.The problem i have is the squid access.Can I allow some IP's to download files on squid.I mean i already give access to download by reply_body tag,andwant to give permission only one specific IP for unlimit access to download.Is there any solution
View 3 Replies
View Related
Jul 27, 2010
I am trying to download site using wget :$sudo wget -r -Nc -mk [URL] but it is downloading the contents of all directories and subdirectories under the domain :[URL] (ignoring the 'codejam' directory) so it is downloading from links like : [URL]... i want to restrict the download so that wget command should download only the things under 'codejam' directory
View 9 Replies
View Related
Mar 9, 2011
I haved tried 3 times to download DVD-7 from http://cdimage.debian.org/debian-cd/...md64/jigdo-dvd, and every time it has failed with just 5 files left to download.
It says:
I cannot begin to describe. All those hours of downloading for nothing! What the heck is happening here? When I try to just continue on, I get error code 3 aborts and have to just start all over.
View 3 Replies
View Related
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
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
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
View Related
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
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
Feb 8, 2010
I need to copy my music to a portable HDD in alphabetical order. My headunit in my car will only display the folders and files in the order that they were written to the disk so to have any form of logic to the album / track listings they need to be written to the disk in alphabetical order.
how to do this in openSUSE? I know dolphin doesn't do this.
View 9 Replies
View Related
Jun 26, 2011
If I execute the following command:
cp -R /myfiles /mydestination
If myfiles contains several sub-directories and files, in what order will they be copied? For example, directories might be named 0123a, 9993c, myfolder, xfolder.
They are not copied in alphabetical order OR in date order OR in the order they appear when using a standard ls command as far as I can tell, so what actually does determine the order?
Edit:
I am trying to determine the order that the cp command uses in order to determine how far along my copy command made it before it stopped. For example, I was hoping to be able to determine it copied 3 of the 4 directories successfully.
View 1 Replies
View Related
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
Sep 25, 2010
If transfer all files under a directory by rsync, what is the order that rsync determines to transfer the files one by one?At first it looked like rsync transfers files in alphabetical order, but later I found rsync skipped some files in the first sweep through the alphabetic order, and then went back to transfer files that were skipped in the first time and this time still in alphabetic order.
View 1 Replies
View Related
Aug 10, 2011
I'd like to install a JAR player in order to test JAR files before installing into my cell (a SonyEricsson w150a, a.k.a. Yizo). Ubuntu 10.10 Maverick.
View 7 Replies
View Related
Mar 24, 2010
This problem has been here for 2 months or so:
If I, in VLC, choose a folder with several mp4 or other multimedia format files, it will show em in the playlist in random order, definitively not alphabetical. that didnt use to happen before.
View 5 Replies
View Related
Jun 1, 2010
I'm trying to rename all files in a folder as such:
1.jpg
2.jpg
3.jpg
Renaming them is no problem, the problem I have is, they need to be in order of the datetime that they were taken, so that the 1.jpg would be the oldest file there. The difference in filetimes is going to be very small, around 3 or 4 tenths of a second.
The reason I need to do this is that I have another script (not quite finished yet), that takes the next three files in a loop and applies qtpfsgui to them to output an HDR image to another folder, then move on to 4,5 & 6, and: repeat.
View 9 Replies
View Related
Mar 15, 2011
I have following 2 files
File1
10.1.1.1
10.1.2.1
10.1.3.1
File2
10.1.3.1
10.1.2.1
10.1.1.1
Both are reverse of each other. Now, basically if you see, the contents are same, but in different order. Is there any easy way in which i can find out like which items dont match between 2 files, regardless of order. Lets say i add 10.1.4.1 to File1. Now the result of such comparison should be only '10.1.4.1'. Currently if i am comparing both files using diff, it gives me all the lines.
View 2 Replies
View Related
Aug 18, 2010
in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.
Is the same can be use for the date format YYYYMMDD ?
View 3 Replies
View Related
Dec 1, 2010
possible to rename a list of files in batch in order to maintain the last part of them, then purge a central section and then again maintain the extension?I.E.:
Code:
file01.qwertyuiop.txt
file02.asdfghjklmnbvzxcqwertyuiop.txt
[code]....
View 7 Replies
View Related
Aug 26, 2010
I have a china phone which has mp3 player and unfortunately it reads the file names in its memory card in sequential order according where the file is saved. The file system is NTFS. cod
**Note: DDD song was last because I saved AAA to EEE songs then later added DDD song
Then suddenly i deleted BBB song and replaced it with FFF song code...
This is kinda lame. but the OS of the phone has no capability sorting the file according to filename in its built in mp3 player.
my question is how can I sort the files sector by sector(is my term right?) so the lame mp3 player would read the files finally in alphabetically sorted order. I Will plug my phone on my PC
I am using ubuntu 10.4
View 1 Replies
View Related
Dec 7, 2010
I've a program which manages my pdf and references. I wish to put some of the information on my website but that program (Mendeley) does export only in XML (or bibtex). I'd like to simply convert the XML output files to SQL in order to create or update an SQL database.I'm not an expert in either XML or SQL (use only PHPMyadmin). Does someone get help me to figure out?
View 2 Replies
View Related
Aug 29, 2010
I run update and get this:S
[Code]...
Some index files failed to download, they have been ignored, or old ones used instead.
View 4 Replies
View Related
Oct 21, 2010
I am trying to write a bash script that will extract a .cbr (.rar) file, traverse the extracted files in alphabetical order and rename them 001.JPG, 002.JPG, 003.JPG, etc.So far I only have this much to extract it:
Code:
#!/bin/bash
#
[code]....
View 8 Replies
View Related
May 1, 2011
I have made two source files named as sum.c and average.cI have included sum.c in average.c
both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy
View 8 Replies
View Related
Jul 28, 2010
I have a second hard drive with fedora 10 installed on it. My primary drive and os is fedora 12. How do I edit the fstab file in order to mount the second hard drive and get files off of it
View 8 Replies
View Related
Jun 27, 2011
When trying to install the nvidia graphics driver I get the following error-message:
ERROR: The kernel header file '/usr/src/linux/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured. How do I configure the kernel source files?
View 3 Replies
View Related