Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Zip files inside the directory, but not the directory itself Post 302438435 by radoulov on Monday 19th of July 2010 05:26:29 PM
Old 07-19-2010
What's wrong with:

Code:
cd /home/VfARM && zip -qo arm.zip *

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to zip a modified file 15 days before but not scanning my sub directory files

I am using zip -m option to zip my files, but i dont want my sub directories files to be zipped (1 Reply)
Discussion started by: skrish70
1 Replies

2. Shell Programming and Scripting

Zip all the files within a directory on a daily basis

I need to zip all the files within a directory on a daily basis and store them as a zip file within that directory with the date in its naming convention I have file extentions .log .lst and .out's within that directory How do i do this task zip -mqj mydir/allzip$YYMMDDDD.zip mydir/*.* ... (5 Replies)
Discussion started by: ramky79
5 Replies

3. Shell Programming and Scripting

Zip all files in a directory

I have two files in a directory: xxxx.txt xxxx.csv I need to zip both files up but the command I am doing below is only zipping xxx.txt file????: cd ../$CUSTOMER_DIRECTORY zip -q ${name}${FILE_OUT_NAME}.zip ls -lrt *.csv *.txt can anyone help?:confused: (3 Replies)
Discussion started by: Pablo_beezo
3 Replies

4. Shell Programming and Scripting

batch shell script to zip individual files in directory - help

help trying to figure out a batch shell script to zip each file in a directory into its own zip file using this code but it does not work tryed this also nothing seems to work , just ends without zipping any files i have over 3000 files i need to zip up individualy ... (7 Replies)
Discussion started by: wingchun22
7 Replies

5. Shell Programming and Scripting

Find all the files under a specific directory and zip them into a single file.

Hi, Is there a way to find all the files from a specific location and then zip them into a single file, even if they are in multiple directories? (3 Replies)
Discussion started by: rudoraj
3 Replies

6. UNIX for Dummies Questions & Answers

Zip all files in a directory and move to another directory

Hi, need to zip all files in a directory and move to another directory after the zip.. i am using this one but didnt help me... zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj mv in_proj_`date +%Y%m%d%H%M%S`.zip /path/source/ i am trying to zip all the files in my_proj... (0 Replies)
Discussion started by: dssyadav
0 Replies

7. Shell Programming and Scripting

How to grep all the files inside the directory and Sub directory

Hi, I have used the command cat * | grep -r <<String>> * It returns: cat : JAN : is directory *********************** ********************* My directory structure: log - JAN -catalina.out -FEB -catalina.out -MARCH ... (11 Replies)
Discussion started by: nanthagopal
11 Replies

8. UNIX for Dummies Questions & Answers

Script to remove zip files from a directory

Hi Folks, There is a job which generates a .zip files every day at /usr/app/generated directory , now please advise for the script that will delete this zip files permanently.but while deleting it should make sure that it will not delete the last two days recently generated zip files and this... (1 Reply)
Discussion started by: punpun66
1 Replies

9. Shell Programming and Scripting

Unzip Multiple zip files and Strip directory

I receive multiple zipped directories with files in them, so the .zip name is the name of the directory containing the files. so i have used a simple loop to unzip all of them but when unzipped i have folders/directories, i wanted to strip these directories and remain with the actual files from... (1 Reply)
Discussion started by: buggzdiq
1 Replies

10. Shell Programming and Scripting

Append string to all the files inside a directory excluding subdirectories and .zip files

Hii, Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories. Eg. file1: test1.log file2: test2.log file3 test.zip After running the script file1: string_test1.log file2: string_test2.log file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
vboxctrl(1)						    Linux System Administration 					       vboxctrl(1)

NAME
vboxctrl - control vbox functions SYNOPSIS
vboxctrl [{-c | -r}] {-a | -n | -p | -j} [-s spool] vboxctrl -v DESCRIPTION
vboxctrl controls a number of vbox functions. The user's password is asked before performing the requested action. OPTIONS -c, --create Creates a control file. -r, --remove Removes a control file (default). -n, --answernow Control file "vboxctrl-answernow". -a, --answerall Control file "vboxctrl-answerall". -p, --stop Control file "vboxctrl-stop". -j, --reject Control file "vboxctrl-reject". -s, --spooldir Spooldirectory in which to create/remove control files. -v, --version Displays package version. -h, --help Displays a usage message. The spool directory is taken from one of the following: 1 the default builtin value 2 The value of the environment variable VBOXSPOOL, if set. 3 The directory of the command line option "--spooldir". SEE ALSO
vbox(1), vboxd(8) AUTHOR
This manual page was written by Paul Slootman <paul@debian.org>, for Debian GNU/Linux and isdn4linux. ISDN 4 Linux 3.13 2002/10/15 vboxctrl(1)
All times are GMT -4. The time now is 06:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy