Hi All,
I have a filelist which contains the "ls" output, i want to extract the filenames written in this files based on date. I know i can run loop and extract the file but i want to avoid it. also there is find command which can be used on directory i.e.
But is there any way i can use find on Filelist instead of directory and get the file name. TIA
Hi All,
I am new to shell srcipting.
Problem :
I need to write a script which copy the log files from /prod/logs directory based on todays date like (Jul 17) and place it to /home/hzjnr0 directory and then search the copied logfiles for the string "@ending successfully on Thu Jul 17". If... (2 Replies)
Hi,
I have a filelist named filestomove.txt.
It can contain any number of files that need to be moved to a subdirectory.
All the files from filelist are in the same directory as the filelist, let say it's called Folder1.
All the files need to be moved to subfolder Folder1/Subfolder1.
... (1 Reply)
Hello,
I need some sort of way to extract every date contained in a file, and count how many of those dates there are.
Here are the specifics:
The date format I'm looking for is mm/dd/yyyy
I only need to look after line 45 in the file (that's where the data begins)
The columns of... (2 Replies)
Hi,
We've a list of files that gets created on a weekly basis and it has got a date and time embedded to it. Below are the examples. I want to find out how to get the latest files get the date and time stamp out of it.
Files are
PQR123.PLL.M989898.201308012254.gpg... (1 Reply)
Hi,
My first time on this site, please excuse me if I've come to the wrong forum. I'm fairly new to Unix/Linux and hoping you can help me out.
I'm looking for a command line that will return a list of directories that are larger than 50M and older than 2 days.
I thought it may be... (6 Replies)
Hi
I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job.
Please help (2 Replies)
Hi All ,
I am trying to find some non empty files from a directory based on below conditions :
Files::
SIZE DATE FILE
3679 Jan 25 23:59 belk_rpo_error_po9324892_01252014.log
0 Jul 01 06:30 belk_rpo_error_po9324267_07012014.log
0 Jul 20 05:50... (7 Replies)
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)
Hi Team,
I'm new to unix and i have a requirement to copy or move files from one directory to another based on current date mentioned in the .zip file name. Note that i need to copy only the recent zip file. please help me with the code
i tried the code as:
#! /usr/bin/sh
find... (3 Replies)
Discussion started by: midhun3108
3 Replies
LEARN ABOUT DEBIAN
amarchiver
AMARCHIVER(8) System Administration Commands AMARCHIVER(8)NAME
amarchiver - Create, extract or list amanda archive
SYNOPSIS
amarchiver --version|--create|--extract|--list [--verbose] [--file file] [filename]...
DESCRIPTION
Amarchiver manipulates amanda archive file. On creation, amarchiver doesn't recurse into directories. If a filename specifies a directory,
it will be ignored. If it specifies a character device, amarchiver reads the device and archives the data. If a filename specifies a named
pipe, amarchiver reads the named pipe and archives the data.
Note that this tool is more limited than the Amanda archive library, and may not be appropriate for some archive files -- particularly
those which use non-strings in their filenames.
OPTIONS --version
print the amarchiver version
--create
Create an amanda archive. Only the supplied filenames are included. With one --verbose, lists the filenames. With two, lists the
filenames and sizes.
--list
List the filenames in an amanda archive. No additional filenames are allowed on the command line.
--extract
Extract an amanda archive. If filenames are supplied, only those files are extracted. Files are created in the current directory,
suffixed with a dot ('.') and the attribute ID.
--verbose
Give more information.
--file file
Create, list or extract from the given file instead of stdin/stdout.
SEE ALSO amanda(8), amanda-archive-format(5)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMARCHIVER(8)