Programming :: Use ZIP Recurssive To Only Make A Virtual Image Of A Folder?
Feb 11, 2010
This would eventually use some coding to make it afterwards in a format : in this format:
Quote:
AUTORUN.INF 99 1999.10.28 18:56.58
CLUF.TXT 19979 2000.1.27 7:17.18
DTPSTUB.EXE 24576 1999.8.4 0:15.52
EBE00.CD1 0 1999.10.28 18:57.0
EULA.INI 749 2000.1.12 7:14.56
[Code]...
View 1 Replies
ADVERTISEMENT
Aug 31, 2010
I have mounted a shared folder in Ubuntu in VirtualBox, but I have to remount everytime I restart. how do I make this command run (for mounting) on startup or make it permanent?
View 2 Replies
View Related
Mar 28, 2011
I been using linux for a while, but I havent had the time to really learn it. Something Id like to get more familiar with is bash so here is a simple example of something I would like to do:
I have a directory full of files. For each file in the directory create a new subdirectory with each files name.
I tried this:
#im already in this directory
aaa=./*
for a in $aaa
do mkdir $a
done
One of the problems is that there are spaces () and - in the filenames so I get many subfolders with names like "-" which i don't want.
I tried stuff like:
aaa=./*
for a in $aaa
do mkdir "'"$a"'"
done
This of course also did not work.
Additional I tried just creating a folder with the name of one of the files and I got this:
mkdir: cannot create directory `(audio) - R56339.EXE': File exists
Well yeah a file exsists with that name, but I want to create a folder- why is there a conflict?
Just to be clear here are the contents of this folder:
~/Desktop/LAB/Media/Drivers - (Image Deployment)/Optiplex_GX260/XP> ls
(audio) - R56339.EXE (NIC-Onboard-Intel) - R54402.EXE
(Modem-datafax-V92) - R54403.EXE OEM_Applications
[Code].....
View 1 Replies
View Related
Feb 1, 2010
I need to make an image in drawing area move. I have a GdkPixmap which stores image of the drawing area. How can i copy a rectangle part inside GdkPixmap to other coordinates?
View 1 Replies
View Related
Dec 16, 2008
How can i make a variable in a bash script, to refer each file in a folder,and to switch it to the next file,until the last file of the folder?
View 2 Replies
View Related
Jan 3, 2010
I have a bunch of folders with different stuff in them. I would like to be able to put a different image on each folder to represent the contents.
View 8 Replies
View Related
Nov 29, 2010
Initially I thought - use a for loop with ls in it:
Code:
However this causes lots of problems (folders have extensions, I have duplicate folders, the names with spaces create a folder for each element of the name).
The contents of the folder is basically movies (some with subtitles). Some of the names have things like (original) or CD1 CD2 in them.
View 15 Replies
View Related
Nov 24, 2010
I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.
View 1 Replies
View Related
Aug 31, 2010
I am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.
View 1 Replies
View Related
Sep 21, 2010
My Linux username is "virchanza" and my group is "virchanza".How do I make a publicly-accessible folder within my private home folder?
View 3 Replies
View Related
Mar 23, 2011
Anyone tried using virtual xp image on sd card? Hows the feeling? No difference from installed?
View 9 Replies
View Related
Sep 28, 2010
Is it possible to mount a virtual disk image like qcow2 as a rw filesystem? I would assume guestfs could do it, but I couldn't figure it out from the man page. Basically I want to be able to read and write to the contents of a Windows virtual machine, just like I mounted a physical disk.
View 4 Replies
View Related
Jan 22, 2011
I have an issue with a PC (XP pro)that had a virus which deleted all the files in the windows/system32/config folder. I first attempted to do the second repair option on the XP cd and it wasn't available. So unable to boot to windows and run an anti-virus; I put the hard drive in my external enclosure. Plugged it into my ubuntu laptop and removed the virus infected files using Clam. I then tried using the XP cd in the first repair to copy the files only to get an access denied msg.
I would like to just copy necessary data from the drive with XP pro installed and then reinstall XP and give the PC back to the owners. However the person that did the original install used a volume license cd and I unfortunately have no more CD keys and hate using cracks in certain business environments. So I came up with good idea at the time to setup XP pro in virtual box and then copy the files from there however those files are in use when the machine is running and can't be copied. So is there anyway to mount the Virtual hard drive and copy the files while the virtual machine is off?
View 2 Replies
View Related
Aug 3, 2011
I have a virtual disk image. Is it possible to boot the computer from it, instead of having to use virtualbox?
View 2 Replies
View Related
May 19, 2010
I'm working on building a pre-patched image of Linux and Windows. Windows I used sysprep and worked out pretty well but not sure what is the steps for Linux? I am planning to use CentOS and Ubuntu, is there a command or script that will recheck the MAC address and prompt for new machine name?
View 2 Replies
View Related
Feb 20, 2016
How can i get a RAID virtual image disk?
What i need is to mount several directories from any other partiton (or file system) as a new merge file system that can grow or decrease depending on the free space. As if it was a dinamic RAID,so i can work with huge files distributed over the partitions mounted.
Ejemp: /mnt/sda1/dir_raid1 + /home/dir_raid2 + /mnt/sda3/dir_raid3 ---> /mnt/RAID/
mhddfs and unionfs <---- are not the solution im searching (cant use huge files)
View 0 Replies
View Related
Dec 21, 2010
whenever I run my winxp VM image, I will still see the BIOS, but as soon as it begin to boot the hard disk, a black screen will just stay there and nothing else happens. Maybe I was too harsh on my virtual machine and it decided to break down. anyway, Im running on fedora 11 leonidas.Is there any way for me to repair my winxp.img file? or is there any way I can rescue the current situation
View 10 Replies
View Related
Jan 3, 2011
I had set up 4 virtual machines on centos 5.5 system where I directed the image locations to an external storage. I have lost the image files in the storage, but I have the image files that were copied from the virtual machine image location. I want to put up the same system on the same computer by copying these backup images. However, when I copy the image file to the same exact location and start the corresponding virtual machine I get "no bootable disk" error. When I increase the size of the image using "qemu-img" commands, I can get rid of this error, but get "error reading disk" error. Is there a way to overcome these problems, or is it not possible to restore a virtual machine by copying the machine image file under ..../xen/images?
View 1 Replies
View Related
Jul 29, 2009
i try to setup sun virtual box but it show there are no bootable image found.
How to attach my XP to this VM ?
View 12 Replies
View Related
Dec 2, 2010
I couldn't find a clear answer to this, but is the linux-image-virtual package for host machines that will contain VMs, or a VM-oriented kernel for guest OS (ubuntu)? I have some guest VMs running on Microsoft's Hyper-V, and was looking for some further optimizations.
View 3 Replies
View Related
May 18, 2010
I'm trying to set up a virtual machine environment in Centos5.5. My hardware fully supports virtualization, and I'm running qemu as the hypervisor with Virtual Machine Manager as the GUI to manage and create VMs. Host hardware is a Dell PowerEdge T710, with a quad core Xenon processor and four 1TB disks in a raid 6 array.
Within the Virtual Machine Manager when trying to create a new VM, there is the option to not "allocate entire virtual disk now". What format is created when you "allocate entire virtual disk now" and when you don't?
I want to create a qcow2 image format, but it doesn't look like it is supported. Does anybody know how to create a VM with a qcow2 image format?
When you create a blank disk with "qemu-img create -f qcow2 disk.qcow2 3700G", it indeed does create a qcow2 image. However, Virtual Machine Manager is unable to read these images, claiming that it is 15 megs or so in size (which is what it actually occupies in host disk space until you try and put a VM into it).
View 1 Replies
View Related
Feb 21, 2011
How i should add a directory/folder in the iso image of linux(redhat) cd and keep the image/cd in bootable state.
I have tried the same but after adding the directory say "Extras", i am facing the following error...
Quote:
View 5 Replies
View Related
Jul 18, 2010
I use the command ln -s a lot to create symbolic links. The problem is that I need to run a routine that looks for a specific string in ALL of my websites and I'd do it somehting like this:
Code: cd /home grep -R "function_enhanced_mail_v100.php" * however, it's going to recurse all the "folders" and include symbolic links which I don't wish to do. Is there any way to prevent this?
View 1 Replies
View Related
Feb 23, 2011
I am working on a few different Linux related self-education projects, and I'm trying to stump myself as much as possible so I can learn as quickly as possible. Using VMWare, I have several Linux and Windows flavors I am using for various purposes. To the point, I have an Ubuntu server (text only) and a Fedora desktop installed, and I need to figure out how to map a drive on the Fedora VM so that I can access it on the Ubuntu server VM. I have installed Samba on both, and I can send a ping from one to the other with no problems. I guess I just need some help with the command line syntax?
On a related note, I have NOT been able to figure out how DNS works in a setup like this, so when I say I can ping them, it is by IP address only. I'll work on the DNS stuff soon, but for right now, I just need access to my Fedora VM, unless for some reason you can ONLY set this up via DNS.
Ubuntu server 192.168.28.133
Fedora desktop - 192.168.28.130
Folder I need to access: [Fedora desktop]/home/[username]/downloads/
View 5 Replies
View Related
Sep 26, 2009
I have all my music on an external HD and the filename and path of each file is in the format of the following
Code:
Ex HD Root / Music / Artist / Album / Artist - Album - Track No - Track Name.mp3
OCD I know
[code]...
View 2 Replies
View Related
Aug 6, 2010
So I had this folder containing two open office text documents, I hibernated my computer a few times while I was working on one, then when I came back I couldn't save it because apparently it was open by someone else so I exited out and tried to open it again, but the folder it was stored in turned into a picture of a white safe with a play icon on the top right corner, and when I open it, it is just the picture.
View 9 Replies
View Related
Mar 23, 2011
So I had this folder containing two open office text documents, I hibernated my computer a few times while I was working on one, then when I came back I couldn't save it because apparently it was open by someone else so I exited out and tried to open it again, but the folder it was stored in turned into a picture of a white safe with a play icon on the top right corner, and when I open it, it is just the picture. Does anyone know what happened here?
View 1 Replies
View Related
Jun 20, 2011
I mount a few locations from a VMware virtual machine, but currently every time I start up VMware I need to re-mount the locations once the VMware image has started up fully, which gets tedious. I'd like to be able to mount them automatically when VMware is started.
I generally double-click the .VMX file (which is associated with VMware Player) to launch the virtual machine, but once it has finished loading I would need to run the mount commands manually or execute a bash script that does it.
Is there any way you can think of to have it done automatically? One way I can think of is to start my virtual machine by running a script that starts VMware player, sleeps for a minute or so, then runs the mount command - but setting the right sleep interval would be difficult because this varies a fair bit - and overall, it's a solution that's kinda icky and that I'd like to avoid if there's some better option.
View 3 Replies
View Related
Sep 21, 2011
I want to remove Virtual Machine and I have deleted VM folder from hd. It's still shown in the VirtualBox GUI but the settings are grayed out.
View 2 Replies
View Related
Feb 6, 2011
I have set up a virtual machine under VMware Player 3.1.2 in Debian. Operating system of this virtual machine is a Windows Server 2003. I would like to periodically test this Windows Server 2003 installation for viruses. Obvious solution would be to install an AV software under this Windows Server 2003 installation. However, I was wondering, is this possible to use NOD32 for Linux or clamav in order to test this Windows Server 2003 installation for viruses? Is NOD32 for Linux able to detect viruses inside the .vmdk file?
View 1 Replies
View Related