Fedora :: Create An ISO Image Out Of A Directory From Command Line?

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


ADVERTISEMENT

General :: Create A *one* Line Command That, Using Tar, Will Collect The Full /usr/local Directory?

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

Fedora :: Create A GUI Interface For Some Command Line Commands?

Aug 22, 2011

I'm developing in java.

I want to create a GUI interface for some command line commands (drush - drupal).

How can I interact with the command line commands with java? or any other languege?

View 6 Replies View Related

Fedora :: Give The Command For Directory Path And Image Located Drive

Aug 28, 2010

problem during fedora x8664 installation. how to give the command for directory path and image located drive. the procedure to install fedora for the first time.

View 2 Replies View Related

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 View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

Ubuntu Multimedia :: How To Save A Web Image From Command Line

Jun 9, 2010

How do I save it as a jpg somewhere on my puter using a script? I can wget, but it gets saved as a .evif, which is totally useless. I can right-click on the image in a browser and use the context menu to save it as a jpg, but I want this process automated. How can I DL this image and save it as a jpg? GIMP's CL options don't include the capacity to save/convert this image, though it's possible from teh GUI. ImageMagick won't read this dynamic URL. What do I do?

View 3 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

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

Debian Configuration :: Xen-create-image - Command Not Found

Oct 26, 2015

I have been following the Xen Beginners Guide here: [URL] .....

Everything was going smoothly until I got to the 'Configuring xen-tools and building our guest' section (two thirds down the page).

I installed xen-tools and then typed the following in a terminal window (as root):

xen-create-image --hostname=development-pv-guest --memory=2048mb --vcpus=2 --lvm=develop --dhcp --pygrub --dist=jessie

I admit PV is new to me, compared to simple HVM, so I have a number of questions:

1. Why the command not found error?

2. Should I be booting from the Xen option or regular boot option at the start up screen when creating the xen image? I've tried both and get the same error message.

3. I have Debian 8 (Jessie) installed on my system and I wasn't sure whether I should therefore make this the guest OS in my Xen PV. In asking this question I'm thinking in terms of HVMs - but I assume my Xen PV needs a guest OS of some kind? Or is my host Debian 8 already acting as a guest OS in Xen PV? I'm confused

4. If I do need to install a guest OS, is it better to go for an earlier version of debian - so as not to be so resource hungry?

I'm nervous about screwing up my host debian installation, so when I got the error message, did some research but found nothing meaningful. I don't want to end up having to reinstall my Debian 8 (base OS) ... again!

View 8 Replies View Related

General :: Does First Line Create File In Tmp Directory With Dsuser.exists

Oct 19, 2010

does first line create file in tmp directory with dsuser.exists.* ?or we are assigning the path of existing file in this directory?

View 2 Replies View Related

Debian Multimedia :: Save Image From Clipboard Into File Using Command Line?

Apr 28, 2011

Can save an image from clipboard into file using command line?
may be image magic?

View 3 Replies View Related

Ubuntu Installation :: Image Restore Grub Rescue Command Line

Feb 25, 2010

I do computer forensics here in Afghanistan and I am trying to keep a clean image of a dual bootable hard drive. Here is what I try to do...

1. Boot into UbuntuLiveCD
2. I run "sudo dd if=/dev/zero of=/dev/sda conv=sync,notrunc bs=64K" to wipe the drive with all zeros.
3. I then install Windows by creating a new partician about 50GB.
4. I then install Linux by creating a partician in ext4 mounting it at '/' in addition I create a swap partician.
5. Next configure everything just the way I want it. I install all the drivers and software I need for my windows partician and build out the remaining part of the disc as a "data drive."
6. Then I use "dd" again to try to image my "clean slate" of a system. Remember I am dual booting. I dd the /dev/sda and gzip it.
7. When I go to restore it, I boot from the live CD again and unzip ig and "dd" it back onto /dev/sda.
8. I run fdisk -l and I get:/dev/sda1 * 1 6375 5120000000 7 HPFS/NTFS/dev/sda2 6376 11724 42965842+ 83 Linux/dev/sda3 11725 12453 ...... 82 Linux swap / Solaris.This means to me that it can "understand the file system"
9. But then when I take out the Live boot CD and try to get my "clean slate" machine back, the system goes into Grub Rescue mode with a grub command line "grub rescue>"
10. I tried using the tutorial on Grub2, but...
a. It would not understand the command "linux"
b. When I try to do insmod, it says it doesn't recognize the file system.

View 4 Replies View Related

Ubuntu Multimedia :: Take Screenshots And Copy Image Files To Clipboard From The Command Line?

Feb 17, 2011

install imagemagick python, and pygtk.

Code:

sudo apt-get install imagemagick python pygtk

Now save the following script somewhere as imgclip.py. This is a simple python script which takes an image file and puts it in the gnome-clipboard.

Code:

#! /usr/bin/python
import pygtk
pygtk.require('2.0')

[code]...

View 1 Replies View Related

Ubuntu :: Burn A Directory To A CD (Command Line)

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

Ubuntu :: Get To The User Directory From Command Line

Oct 24, 2010

how do you get to the usr directory from command line.

View 5 Replies View Related

General :: Command Line 'last Directory' Button?

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

General :: Can See Properties Of A Directory Using Command Line

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

General :: Command Line - How To Create Multipart Rar File

Sep 4, 2010

How can I create multipart rar file in Linux using the official console rar client?RAR 3.90 Copyright (c) 1993-2009 Alexander Roshal 16 Aug 2009Shareware version Type RAR -? for helpI want a multipart rar with each part size being 150 MB.

View 1 Replies View Related

General :: Command Line - Create Multipart Tar File?

Oct 13, 2010

How to split a tar file into smaller parts at file boundaries?

How can I create a multipart tar file in Linux?

View 2 Replies View Related

Ubuntu :: Create A Window Message From Command Line?

Sep 20, 2010

Is there a way to create a windowed message from the command line? Like an alert?

View 3 Replies View Related

Software :: Create Mysql Database From Command Line?

Feb 13, 2010

I want to create database from script directly by taking inputs USER, PASSWORD and DBNAME.code...

How to resolve this or any alternate method (other than entering into mysql prompt like mysql -u USER -pPASSWORD)?

View 3 Replies View Related

CentOS 5 Server :: Create An User Through Command Line?

Dec 16, 2009

i have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.

View 12 Replies View Related

General :: Check If A Directory Exists In Command Line?

Jan 21, 2010

How to check if a directory exists in Linux command line?

[Code]....

View 5 Replies View Related

Ubuntu :: Set Custom Directory Icon From Command Line?

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

Ubuntu :: Put All Of The Current Directory's Files On The Command Line?

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

CentOS 5 :: Active Directory Authentication Command Line?

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

General :: Create A New Terminal Window From The Command Line In RHEL 5.3

May 18, 2011

I use putty to get to my RHEL 5.3 workstation from my Windows laptop.

Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.

QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.

In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?

View 3 Replies View Related

Ubuntu :: How To Create A Shortcut To Open Command Line Program

Feb 21, 2010

I use a few command line programs quite often such as nano and mpc. I'd like to create a shortcut icon to open them rather than opening a terminal and then typing in the program name to open it. For example, how could i open konsole with nano opened in one step?

View 5 Replies View Related

General :: Command Line - How To Create Multipart 7zip File

May 18, 2011

How can I create a multipart 7zip file in Linux using the p7zip console client? My console app is

7-Zip [64] 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

View 1 Replies View Related

General :: Command Line - Create Directories That Don't Exist While Creating A New File?

May 8, 2010

I can do:mkdir messages and then: touch messages/hello.txt Is there a command that will do both - create the directory if it doesn't exist, and then the empty file? Something like: touch -p messages/hello.txt

View 1 Replies View Related







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