04-27-2014
This User Gave Thanks to SriniShoo For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Howdy,
I'm trying to figure out how to move multiple files based on their creation date. If anyone can enlighten me it would be most appreciated!!
Thanks!
:D (1 Reply)
Discussion started by: dgoyea
1 Replies
2. Shell Programming and Scripting
Hi All,
I am currently coding for a requirement(LINUX OS) where I am supposed to move a file (Lets Call it Employee.txt) from Directory A to Directory B based on 2 date fields as below,
Date_Current = 20120620
Date_Previous = 20120610
Source Directory : /iis_data/source
Target... (11 Replies)
Discussion started by: dsfreddie
11 Replies
3. Shell Programming and Scripting
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Discussion started by: dsfreddie
3 Replies
4. Shell Programming and Scripting
I'm using a directory naming convention to organize files as exemplified here:
2012/Aug/week-20-Aug/23-Thu/tuv.txt
2012/Aug/week-27-Aug/30-Thu/abc.txt
2012/Sep/week-27-Aug/01-Sat/def.txt
2012/Sep/week-03-Sep/07-Fri/xyz.txt
How do I write a command that will list the file names abc.txt and... (4 Replies)
Discussion started by: siegfried
4 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
<Re-posting in Correct group>
I'm trying to select all the files in a folder that starts with a particular name format and are created in a gven date range using 'ls' command...but i'm not successful....
Example : I'm trying to see all the text files in a folder who names start... (6 Replies)
Discussion started by: Satya C1
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
My apologies if my query is already available on this forum but I am new and could not find.
I need a script to list all directories/sub directories and files with permissions/groups/owners. The script would run from home directory and should capture every directory. How do I do this?
... (4 Replies)
Discussion started by: 8709711
4 Replies
7. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
8. Shell Programming and Scripting
I'm wanting to write a bourne shell script that takes in two command line arguments - a directory and a file. With this I want to return a list of files within the directory that are older (based on creation date) than the given file, and print the number of files that have not been listed (they... (4 Replies)
Discussion started by: britty4
4 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
I've been trying to do some recursive searching but not been very successful. Can someone please help.
Scenario:
I have directory structure
/dir1/dir2/dir3/
2019/
11/
17
18
19
20
so what I want to do is run a script and as its 2019/11/18/ today it would go and only search... (3 Replies)
Discussion started by: israr75
3 Replies
LEARN ABOUT DEBIAN
install-xpi
INSTALL-XPI(1) mozilla-devscripts suite INSTALL-XPI(1)
NAME
install-xpi - installs a xpi file into a Debian package
SYNOPSIS
install-xpi [options] xpi-file
DESCRIPTION
install-xpi is a helper tool for packaging XUL extensions. It installs the given xpi file into the correct directory and creates the
required links based on the data in the install.rdf file. It corrects the file permissions unless --preserve-permissions is specified.
install-xpi will create a configuration file in /etc if the XUL extension provides one or more preferences files in defaults/preferences.
The configuration file contains only a description where to find the overridable preferences. debian/package.js is used as configuration
file instead if it exists. The placeholder @INSTALLDIR@ is replaces by the actual installation directory. You can disable the creation of a
system configuration file with --disable-system-prefs.
OPTIONS
--disable-system-prefs
Do not create a system preference file in /etc.
-x file, --exclude=file
The specified file from the xpi file will not be installed. You can use this parameter several times.
-h, --help
Display a brief help message.
-i directory, --install-dir=directory
The xpi file will be installed in the specified directory. directory must be an absolute path. Use this parameter with care.
-l directory, --link=directory
An additional link from the directory to the installation directory of the extension will be created. You can use this parameter
several times.
-p package, --package=package
The xpi file will be installed in the specified binary package. If this parameter is not provided, the first binary package listed
in debian/control will be used.
--preserve-permissions
The permissions of the files in the xpi file will not be modified. If this parameter is not provided, install-xpi will try to cor-
rect the permissions of the files to 644 (files that starts with a shebang will be corrected to 755).
-r, --remove-license-files
Files with names like copying, licence, or license will not be installed.
-v, --verbose
Print more information.
AUTHOR
Benjamin Drung <bdrung@debian.org>
install-xpi January 2010 INSTALL-XPI(1)