General :: Zip - How To Create A Folder

Nov 29, 2010

Build Zip archive, special cases

I'm using zip to archive different files. I need to create a directory in the zip file where to place some of them. Is that possible ?

The syntax I got so far is zip output.zip -r /var/www/test

Inside the zip I want a folder called backup1 and in there the files from /test.

View 2 Replies


ADVERTISEMENT

General :: Create FTP Shortcuts To Another Folder?

Nov 7, 2010

How can I create shortcut from one ftp folder to another using SFTP client such as WinSCP with Putty?

For example, application path is /home/primary/webapps/appication/

We have created new user with default home directory /home/secondary/

Using Bash command:

setfacl -R -m u:secondary:rwx /home/primary/webapps/appication/

we added full Read-Write permission for secondary user.

To access application folder he suppose to type full path to application folder which is not so convenient for daily usage.

As a solution I would like to create some shortcuts in home directory to this folders as I seen something similar in default cPanel configuration where PUBLIC_HTML folder has some alias such as WWW.

View 1 Replies View Related

General :: How To Create Folder Using Script

Jun 21, 2010

1. I wanna create a automation script to automatically run the software

2. I wanna create the folder with the format that the filename then date format.

View 8 Replies View Related

Ubuntu :: Create Folder',and Results In An Empty Folder Being Created On Desktop?

Oct 29, 2010

I have this nasty habit of refreshing desktop in a quick succession by right-clicking and selecting 'Refresh',on my XP system at office.(And,iam sure most of us do the same).With Ubuntu,if a right-click on desktop slowly and select 'align by...',it simulates the XP refresh action as explained above.But,if i perform the same action rapidly,it takes this first option from right-click context menu,which is 'Create Folder',and results in an empty folder being created on desktop.I tried double right-clicking and again it created an empty folder.Is there any workaround to handle this.I mean:Can the right-click context menu items be shuffled so that the 'Create Folder' option is moved from 1st place

View 9 Replies View Related

General :: How To Create A Folder Inside A Tarball

Jun 9, 2011

I created a tarball with multiple files. The rpm generator requires those files to be inside a folder. I don't want to move the files before generating the tar. Is there a way to create this folder while generating the tar or after it?

View 1 Replies View Related

General :: Create Folder Name From The Text File?

Jun 23, 2010

1. I need guide on how to create a folder name from the text file with .txt format.

2. First, I call the function of reading the directory.

3. Then, I dont know how to do.

4. Finally, I close the directory

This is my source code in perl

## read text.txt file ##
open F, "from/$directory/text.txt";
read F, $buf, 9999;
close F;[/size]

This source code is used to print the folder with date format like "ddmm" d stands for day and m stands for month

if ($command =~ s/-O "(.*)"/-O "$websites/$month/$file"/)

Instead, I want to have the name from text.txt to be folder name

View 4 Replies View Related

General :: Can't Create Network Folder Over Ssh With KNetAttach

Feb 11, 2010

I get the following error:

Quote:

Unable to connect to server. Please check your settings and try again.

However at the same time I get a notification pop up on the taskbar that says :

Quote:

Succesfully connected to xxxxxx
sftp://xxxxxx:22/xxxx

View 2 Replies View Related

Debian :: Create Folder From Filename And Move File Into Folder

Feb 13, 2011

this is posable but am trying to do this "Create folder from a filename and move the file into the folder" i have 500000+ file's i need to do with is there a easy way?I really don't want to download them all make/move them with filemonkey just to re-upload them

View 2 Replies View Related

General :: Can't Create The Folder Directory - Permission Denied

Jan 18, 2010

I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".

View 11 Replies View Related

General :: Create A Softlink To Move Some Library Folder?

Dec 2, 2010

I'm running out of disk space in root, so I decide to move /usr/lib64 directory to other partition by creating moving the whole directory to new location and create a softlink in the old location. What I'm planning to do is:

1. Copy the whole directory to new location

2. Make sure if there's no problem in the copy process

3. Create a softlink in the old location pointing to the new location.

However, when I'm comparing the old location and the new location using du command, there's some discrepancies between those two where the new location contain bigger size than the old one. How is this possible?

Is this the proper way to save disk space by creating a softlink?

View 5 Replies View Related

General :: Create A Folder Or Directory If Permissions Are Denied?

May 24, 2010

i just installed RHEL 5, when iam trying to create a directory or file it is not creating ...

View 7 Replies View Related

Ubuntu Security :: Opt Folder Doesn't Allow To Create Folder

Oct 28, 2010

I'm new to ubuntu and want to install stepmania so i downloaded the binary, i want to put the files in the /opt/ directory, the only problem is i cant create a new folder, i tried dragging a ready-made file into it but it just says "you do not have the permissions to file:///opt/" Im soo sad i wanna play my sM NOW!

View 3 Replies View Related

General :: Virtualbox - Can't Create Directories In Virtual Box Shared Folder?

Jul 28, 2011

I'm mounting a shared folder in an arch linux guest on a windows 7 host in Virtual Box. The shared folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab:

D_DRIVE /home/tony vboxsf rw,gid=1000,uid=1000,auto 0 0

I believe my user in the guest OS has the right uid and gid:

[tony@kiwi ~]$ id uid=1000(tony) gid=1000(tony) groups=1000(tony),1002,(vboxsf)

I can create files and remove them fine, but I can't seem to create directories.

[tony@kiwi ~]$ mkdir foo mkdir: cannot create directory `foo': Protocol error

Its weird because the directory looks like its there, sort of.

[Code]...

View 1 Replies View Related

General :: Create A Script When Mailqueue (mqueue) Folder Size Reaches 1GB

Aug 4, 2011

how to create a script when my mailqueue (mqueue) folder size reaches 1GB and sent email alert to my email id.

Once mqueue folder size reaches the sent alert by mail. Because everytime my mqueue folder size increasing.

View 3 Replies View Related

General :: File Permission - User Can Create Files/folders In The Shared Folder

May 4, 2011

Is possible to make a folder permission like below?

-User can create files/folders in the shared folder.

-But the files/folders they created, cannot be delete/change by em.
(only can be delete by root users)

-Each new files/folders created will auto owner to root only.

View 4 Replies View Related

Ubuntu :: Can't Create Folder

Mar 30, 2010

I can't create a folder in the home directory. It seems I don't have the permissions to create a folder in my home directory. This is a new installation. I want to be able to create subfolders in my home folder. Also, I want to be able to modify configuration files in the etc folder.

View 9 Replies View Related

Fedora :: How To Create New Folder In Nautilus

Oct 18, 2010

In re of Fedora 13. I'm having trouble trying to figure out how to create a new folder with nautilus. Yes - I know about doing a right click in the background of the window to use the pop up menu to create a folder. BUT - ALAS - When the folder is full of files, there is no blank background space to click in so I cannot get the pop up menu to appear. Hence, I cannot create a new folder. Seems to me that the constant tinkering with Nautilus is leaving essential features missing or totally not-obvious to locate. Argh!!! Since the main menus are also missing (as compared to prior Fedora releases), I seem to be left with little choice other than to open a terminal window and do a mkdir command.

View 1 Replies View Related

OpenSUSE :: Create An Index Over A Folder?

Jun 8, 2010

I need to create an index over a folder, subfolders and files. Preferably as a figure. Is there a quick and easy way to do that?

View 2 Replies View Related

Ubuntu :: Cannot Create Folder In USB Drive?

Apr 20, 2010

when I try to create a folder in my USB drive I get this ..Error while creating directory untitled folder.There was an error creating the directory in /media/TRAVELDRIVE

View 4 Replies View Related

Ubuntu :: Create A New Folder In 'Applications' In 9.04?

Jun 14, 2010

I want to install matlab in Linux. I want to create a new folder in Applications . The problem is i cant find where this 'APPLICATIONS' location is.. Only after which can i proceed with CD and MKDIR commands.

View 2 Replies View Related

Ubuntu :: Create New Folder Using A Hotkey?

Aug 23, 2010

I want to create a hotkey to create new folder in Ubuntu 10.04 the hotkey I want to use: ctrl shift n

Is it possible to this?

I'm guessing its going to involve remapping the keys somehow...

View 3 Replies View Related

Ubuntu :: How To Get Permission To Create Folder

Apr 8, 2011

I cannot create folder or open some of the files in var/www. What to do so that I can create folder, read and write and execute files.

View 6 Replies View Related

Ubuntu One :: Unable To Create A Folder

Jun 9, 2011

I have the 11.04 version.I've tried to run Ubuntu One from the Launcher, but it doesn't do anything, so I have to go to the terminal and write sudo ubuntuone-control-panel-gtk Once it runs, the window opens, and where it should say File Sync is up-to-date it appears in red letters this error:

File Sync error. (org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1), next to it I have the option Restart, but it doesn't do anything if I click it.

If I go to the section "Cloud Folders" it appears:

Value could not be retrieved. (DBus exception: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1) The folder Ubuntu One that should appear in my Home Folder, doesn't exist.

View 1 Replies View Related

Ubuntu :: How To Create A Shared Folder

Sep 16, 2010

I have set up Ubuntu 10.04 with a data partition mounted as /share that I would like to make available to all users. I have only managed to do this so far by using chmod and chown, can I flag the folder so that all users can read and write from it automatically? I'm looking for something a bit like "Ignore Ownership" on a Mac.

View 3 Replies View Related

Server :: Create A Www Folder In Ubuntu 9.04?

May 17, 2010

i'm using ubuntu 9.04 jaunty jackalope for my drupal development. last one day before i lose my www folder in my ubuntu system. and i had LAMP Server with phpmyadmin. and i have been stored so many of my development documents are stored in that folder. i already geta backup for that., so its does n't matter. now i need www folder in var directory.

View 2 Replies View Related

Ubuntu :: Create A Shared Folder Using Terminal?

Mar 19, 2010

I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.

View 3 Replies View Related

Ubuntu :: Cannot Create New Folder Inside /opt Directory

Jun 16, 2010

I have Administrator rights. I want to create new folder into /opt directory. So i clicked(Right click). but new folder menu has disabled. I cannot create new folder. Then Alternatively I used terminal. then I type mkdir /opt/lampp/htdocs/dummy now folder name has created. but I cannot paste anything into my dummy folder. So I checked permission which has you are not owner. How to create new folder & copy contents to new folder.

View 1 Replies View Related

Ubuntu :: Mount Seems To Create An Additional Folder?

Feb 19, 2011

I am trying to mount the device sdb in the folder /mirror so I issue the command dmd@dolly:/$ sudo mount /dev/sdb mirror. I would now expect to see the contents of sdb in /mirror but instead of mounting in /mirror it is being mounted in /mirror/mirror and the second mirror folder is created during the mount

dmd@dolly:/mirror$ ls - returns no results

I then say dmd@dolly:/$ sudo mount /dev/sdb mirror and look for my mounted files in /mirror and I see this

dmd@dolly:/$ cd mirror
dmd@dolly:/mirror$ ls
lost+found mirror (an additional mirror folder)

mount says

/dev/sdb on /mirror type ext4 (rw)

I'm sure I'm just doing something goofy or otherwise have screwed things up but I've tried this several times with re-boots in the middle and wherever I choose to mount sdb it ends up being mounted one level lower in a folder of the same name.

View 9 Replies View Related

Ubuntu :: Create Shortcut Of Windows Folder?

Mar 20, 2011

I'm using two OS in parallel, and all of my data are stored in partition D. I want to create a shorcut to a specific folder inside it, e.x: D:/path/to/folder and put it in the Ubuntu Desktop (~/Desktop).

View 5 Replies View Related

Ubuntu :: Create Folders Outside The Root Folder?

May 13, 2011

i'm workin on QEMU for ARM on ubuntu 11.4 and i needed to run this symbian-qemu-0.9.1-12-arm-none-symbianelf.sh script which is in this link [URL]

but i get this error ..
mkdir: cannot create directory `/scratch': Permission denied

is there any way to work around it and be able to create folders outside the root folder ??

View 9 Replies View Related







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