Last week I was using the command:
' find /directory -mtime -2 -print' and it showed all the files modified within that period. However, now it only displays the directories and not the files modified. The only thing that changed is that I was granted access to some files.
Thanks (2 Replies)
I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of exact time. I am using Korn shell, and SUN OS.
Thanks in Advance,
Kiran (3 Replies)
Hi ,
I am trying to find out the List of files modified or added aftter installation of any component on SUN solaris box .
But i am not able to do it using ls or find command .
Can somebody help me out ?
Thanks
Sanjay Gupta (2 Replies)
Hi All,
I have a requirement to find out the files which are modified in the last 10 minutes.
I tried the find command with -amin and -mmin options, but its not working on my AIX server.
Can anyone of you could help me.
Thanks in advance for your help.
Raju (3 Replies)
Hi,
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Hello,
I'm pretty stumped, and I don't know why I am not able to redirect the output to the 'graphme' file with the command below in Fedora 18.
tcpdump -l -n -t "tcp == 18" | perl -ane '($s,$j)=split(/,/,$F,2); print "$s\n";' > graphme
In case you're wondering, I was following the example... (2 Replies)
Need help reading file last modified date in format:
Filename (relative path);YYYYMMDDHHMMSS
And then write it back. My idea is to backup it to a text file to restore later.
Checked this command but does not work:
Getting the Last Modification Timestamp of a File with Stat
$ stat -f... (5 Replies)
This should recursively walk through all dirictories and
search for a specified string in all present files, if found
output manicured content (eg some regex) with CAT into
a specified directory (eg /tmp/)
one by one, keeping the original names
This is what I have so far, which seems to... (1 Reply)
Hi,
I would like use the output of my cut command as a variable in my following awk command. Here's what I've written.
cut -f1 info.txt | awk -v i=xargs -F'' '{if($6 == $i) print $20}' summary.txt
Where obviously the 'xargs' doesn't do what I want. How can I pass my cut result to my awk... (3 Replies)
Discussion started by: heyooo
3 Replies
LEARN ABOUT DEBIAN
gpt-install
GPT-INSTALL(8) User Contributed Perl Documentation GPT-INSTALL(8)NAME
gpt-install - Installs GPT packages.
SYNOPSIS
gpt-install [options] [packages or bundles]
Options:
-verbose Print copious output
-help Print usage
-man Print man page.
-version Print GPT version.
-force Replace package no matter what.
-loose Replace a broader range of packages.
-installdir=PATH Override $GLOBUS_LOCATION.
-tmpdir=PATH Path to tmp disk space
[packages or bundles] List of binary packages and bundles to install.
DESCRIPTION
gpt-install takes a GPT described package or bundle and installs it. The program can install either RPM's or GPT packages.
OPTIONS -force forces all action to be taken, regardless of state.
-tmpdir Place to unpack bundles.
-installdir
Directory to which files shall be written. Default is $GLOBUS_LOCATION
-loose pgm packages can replace a pgm_static package (and vice versa) or a pgm package with a different flavor.
-help Print a brief help message and exits.
-man Prints the manual page and exits.
-version
Prints the version of GPT and exits.
EXAMPLES
For the command:
gpt-install foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will B<not> be replaced. It is newer.
foo-1.1-vendorcc32-pgm will B<not> be replaced. Wrong flavor.
foo-1.1-gcc32-pgm_static will B<not> be replaced. Wrong package type
foo-2.2-gcc32-pgm_static will B<not> be replaced. Wrong package type
For the command:
gpt-install -force foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will be replaced.
foo-1.1-vendorcc32-pgm will B<not> be replaced. Wrong flavor
foo-1.1-gcc32-pgm_static will B<not> be replaced. Wrong package type
foo-2.2-gcc32-pgm_static will B<not> be replaced. Wrong package type
For the command:
gpt-install -loose foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will B<not> be replaced. It is newer.
foo-1.1-vendorcc32-pgm will be replaced.
foo-1.1-gcc32-pgm_static will be replaced.
foo-2.2-gcc32-pgm_static will B<not> be replaced. It is newer.
For the command:
gpt-install -force -loose foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will be replaced.
foo-1.1-vendorcc32-pgm will be replaced.
foo-1.1-gcc32-pgm_static will be replaced.
foo-2.2-gcc32-pgm_static will be replaced.
BUGS
gpt-install currently does not honor static build numbers. Instead it will replace any pgm_static package that is the same version or
older. For example:
gpt-install -force foo-2.1-2-gcc32-pgm_static.tar.gz
foo-1.1-5-gcc32-pgm_static will be replaced.
foo-2.1-1-gcc32-pgm_static will be replaced.
foo-2.1-5-gcc32-pgm_static will be replaced.
foo-2.2-1-gcc32-pgm_static will not be replaced.
foo-2.1-gcc32-pgm will not be replaced.
SEE ALSO gpt-uninstall(1)gpt-query(1)gpt-verify(1)AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>
perl v5.14.2 2012-04-30 GPT-INSTALL(8)