Fedora :: Command Line FTP - Transferring Entire Directory?
Jun 10, 2010
Need explanation from a FTP guide's reference of FTP's GLOB command.
mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). Then FTP does not transfer, even with mput, a directory of files to remote server?
Does this quote suggest I can tar my files, upload them, then untar them on the remote server?
View 1 Replies
ADVERTISEMENT
May 20, 2010
I want to show the contents of a file on Dialog box for which I have use the "--textbox" dialog and "--tailbox" dialog.
But it doesn't show the whole contents of file, it only shows some of the data.
How do I get it to show the entire file data?
View 1 Replies
View Related
Feb 7, 2010
I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.
At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code...
So, I have two questions:
Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?
Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?
View 5 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Aug 3, 2010
i need to burn a specific Directory (and all it`s content) into a CD by using the command line what do i need to write ?
View 1 Replies
View Related
Oct 24, 2010
how do you get to the usr directory from command line.
View 5 Replies
View Related
Jun 16, 2010
in the command line there's a button (tab) for autocompleting commands and I'm pretty sure linux has a button that prints the last directory I used/typed whatever?
View 6 Replies
View Related
Mar 4, 2011
I am struggling to learn the command line, and am stuck to the following In my directory ~/Music , I have many music archives , total about 0,8 Gbyte . Yet , changing to this directory ) and giving ls -dlh , I get
ioannis@ioannis-laptop:~/Music$ ls -ldh
drwxr-xr-x 4 ioannis ioannis 4.0K 2011-03-04 14:55
So, only 4 k size and no info about the number of the files in the dir
View 6 Replies
View Related
Jan 21, 2010
How to check if a directory exists in Linux command line?
[Code]....
View 5 Replies
View Related
Jan 17, 2010
I am looking for a way to (via bash script) set a custom directory icon for a number of directories. All of these directories contain a "cover.jpg" image. I can accomplish this manually by right clicking the directory > select "Properties > click the directory icon button > select the "cover.jpg" image. I am just looking for the way to do this in the terminal to save time, as the music collection is quite large.
View 8 Replies
View Related
Feb 21, 2011
Is there an easy way to put all of the current directory's files on the command line, without tab-completing each individual one?
View 9 Replies
View Related
May 21, 2010
I have just installed the 32bit and 64bit versions of CentOS 5.5 and was wondering how I can add these machines to Active Directory for authentication. I've done this in the past with CentOS 5.4 using the GUI and everything worked just fine but now need to do everything from the command line.
View 1 Replies
View Related
May 12, 2010
I want to copy file from the Server cd drive and USB drive to the server root directory, but I haven't find any command of listing the cd drive or usb drive.
View 4 Replies
View Related
Oct 6, 2010
I am currently interning at a place and my job is to essentially learn UNIX. My supervisor gives me problems here and there to help guide me with my learning but for the most part I'm doing this all by self-teaching myself. Needless to say I have run into a few obstacles...for instance-Create a *one* line command that, using tar, will collect the full /usr/local directory (you need to run this as root again) and copy the whole /usr/local structure under /optFor example /usr/local/bin/hello will become /opt/local/bin/hello, etc. I want this as follows:1. /usr/local is collected by tar, but the output of this tar command is its stdout.. what you get from the previous stdout, you compress with gzip and send it to stdout again 3. get this output and decompress with gzip.. get this output and pipe to tar in a way that will extract the tree under /opt.If anyone knows how I could go about doing this, please let me know, or at the very least point me in the right direction. What I've got so far (which could be completely wrong) is:tar cvf - usr/local/ | gzip -c - | gunzip -c - | tar xvf -in theory I feel like this should work (except for extracting the tree under /opt...i'm kinda stuck there)
View 3 Replies
View Related
Jun 10, 2010
I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.
View 2 Replies
View Related
Mar 12, 2010
I think this can be done using sed. Let's say I have file called, "orig.txt" with following contents:
Code:
[User Prefs]
Ignore Unrequested Popups=1
DevTools Splitter Position=500
History View Style=0
[Code]....
So basically if a line contains the word "Home URL" then go ahead and replace that *entire* line with the supplied *new* line.
View 4 Replies
View Related
Mar 17, 2010
Method of automatic backup from my hard drive to a usb drive when plugged in.
Basically I'll be constantly putting files in /home/downloads and I want it so when I plug in a NTFS usb drive it will automatically Cut(not copy) all the contents of that folder including other folders to my usb drive. Is there any well known programs that can do this?
I would prefer something that is in the repositories that is easily configurable via command line rather than some complicated script.
View 4 Replies
View Related
Feb 3, 2010
i have a web directory that has many folders and many sub folders containing files.
i need to download everything using wget or bash.
View 7 Replies
View Related
Mar 22, 2010
i have crashed my system, i have a lot of simualtion software already configured and working on it, i'm thinking to do a new installation of ubuntu in a different partition and copy there all directory tree, basically replace the new / directory system, whit the old one that i have back up. Can i do this and everything will works ok?
View 1 Replies
View Related
Jul 2, 2010
Installed Sidux over LennySidux didn't want to take my usual username, because a folder with that name existed in my home directory.So, I just mounted the home partition and changed the name of my home directory from shay to shay1.Don't know what that did or didn't do permission wise to the files in my old home directory, but I've got a few unowned files floating around my home directory anyway that have been dragged in from old harddrives and such.
View 3 Replies
View Related
Apr 16, 2010
Ubuntu 10.04 Beta - I recently upgraded from 9.10. I have for some time been using an IOMEGA External drive, storing files created using Open Office. After I upgraded I continued to use those files and open them in OpenOffice 3.2. Yesterday I opened the drive to work on the files and the entire directory is missing. All the other directories seem to be there. Bizarre.
Have tried using "locate" in the console, but the files are nowhere to be found. I tried accessing the permissions on the external drive but get the response "The permissions of IOMEGA HDD could not be determined". Using a dual boot system with Windows Vista, booting through Grub.
View 8 Replies
View Related
Jun 8, 2011
I installed a new 11.04 on my Thinkpad in place of the old 10.10 system, so it replaced the old /home with a new empty one. But I had previously done a partition copy of the original 10.10, complete with /home to a spare HDD so now I can copy that /home in place of the new empty /home. What's the best way to do that? Should I use 'dd'? Should I use Nautilus? Or should I partition-copy that copy of the 10.10 onto available space on the thinkpad 11.04, then manipulate the partitions to consolidate? Maybe create a separate /home partition?
View 4 Replies
View Related
Feb 6, 2011
how do you copy an entire line and add that copy at the end of the same line?
For example, sometimes I rename a collection of files with a command like:
"mv oldfilename newfilename;"
I am able to add "mv" at the beginning, the semicolon at the end and sometimes replace a word in the middle, but... how to change a line "oldfilename" into "oldfilename oldfilename"... that is already long time a mystery to me...
View 5 Replies
View Related
May 4, 2011
We are looking for a solution that allows us to restore a servers "identity" in the event of hardware failure...ie Name, IP address, dhcpd, named configs etc.
We have ISO images of the appliance images that contains all the software and stuff. There is no real data on these servers.
If we backup the entire ETC directory and perhaps the /var/lib can we simply restore that and get everything back?
What concerns me is how some versions of Suse use UUID for the network config and the mounts points.
View 9 Replies
View Related
Jan 3, 2011
I have a large (~60GB) collection of music in various formats on my hard drive. It is organised in the form Artist/Album/*.ext
The formats include M4A, FLAC, MP3, and OGG. What I would like to do is convert the entire directory, keeping subfolders and ID3 information intact. I would preferably like to be able to do this with a single script.
I am running Ubuntu 10.10 x86_64. I am fairly adept with BASH and the command line, so I foresee no problems there. If I have to write my own script, these are the things I'm not sure about:
(a) maintaining the directory structure.
(b) how to tell the script which converter tool to use (LAME, FLAC, etc.
(c) keeping ID3 tags.
View 9 Replies
View Related
Apr 23, 2011
As I'm gonna transfer large amount of data folders from one hard drive to another, I wanna make sure that the transfer has not corrupted the data. how could I generate MD5SUMs of entire directory including sub directories, in a single file and later, how could I verify with the data I've just transferred.
View 1 Replies
View Related
Feb 5, 2010
I need some info on this title for class
View 1 Replies
View Related
Apr 1, 2010
anybody know how to zip a folder with 500mb?i want to create zip files with about 100mb each. please?
how do i do it in rar?whats the commandline ?
View 7 Replies
View Related
May 4, 2011
I may need to handle a Red Hat server soon and thought that has the same command line.Where do I start if I wanted to learn the command line? Especially, how do you connect to a Redhat / Fedora Server using console on windows and do C programming
View 6 Replies
View Related
Jan 31, 2011
How to add user through command line..??i used "useradd" and "passwd" and created an account but i can't login to it...
View 12 Replies
View Related