sorry i missed the last tilde sign at the end of the line. this error will go away. when u use that.
can you explain me ... why do u need date parameter for. are u gona check the files with date.
in ur directory are files being made with different dates.. and u want to tar them according to date. let me know if my understanding is correct or can you please explain what u exactly trying to do. because i am not sure why u want date parameter. ??
Hi !
i have to write a script that archivs homes not used since 3 years.
First, my script gathers the users that are concerned, using the following command :
ll -lt /home/*/.sh_history | egrep '2000|1999|1998|1997' | awk '{print $3}'
i obtain a list like this :
user_1
user_2
...... (3 Replies)
I need to compress and tar a couple files in a directory, but I also want the original files unchanged, ie
if I compress a1.cpp , then a1.cpp becomes a1.cpp.z,
but what I want after running the compress utility is to have both
a1.cpp as it is and
a1.cpp.z
and then tar a1.cpp.z to an... (4 Replies)
Hi all,
I am supposed to collect a huge amount of log files from a unix system (HP-UX) onto a local system. The log files are not in one place, but they are scattered all over the Unix server. The unix server has only limited space, so that I can not create a tar file first and then compress it.... (4 Replies)
I am adding some individual files to a tar archive and would like them to be added to the archive without any directory hierarchy, even though the files themselves exist in levels of hierarchy. Unfortunately, tar seems to always preserve the directory hierarchy when it adds the files.
Here is... (2 Replies)
hi guys..
Since am a bit new to shell scripting, can anyone help me with this problem please.. i've been struggling with it since 2 days. :(
I have a directory lets say myFolder and within it I have sub directories let say myFolder1.tar, myFolder2, myFolder3, etc. I need to write a shell... (12 Replies)
Hi,
When i am tar the file particular ,csv file format in a folder i am receiving the error
Command:
tar cf New_data.tar /new/file/mari/getdata/small/*.xml
Arguements too long
But sometimes
i am able to compress other folder but the tar folder contains all the file format and... (10 Replies)
I know there is a way to tar up directory and sub-directories and have it compressed all in one command but but the syntax escapes me.
I seem to re-call something like this:
tar -cvf /tmp/file.tar - | compress ?
Can somebody please provide me with the syntax on how to tar/compress
and... (6 Replies)
Hi all
I have the following script that should compress a file in a directory:
# compress log files older than 2 days
find /u01/easydone/DBDUMPS/*.dmp -mtime +2 -exec gzip {} \;
BUT the problem is that these files that I want to compress are inside a directory with following format:
... (5 Replies)
HI
Please suggest how to untar archive on remote sever. When im trying use regular command without any flags everything working fine:
$( ssh <user>@<server> -n '. ~/.profile >/dev/null 2>&1 ; cd /path_1 ; copiedIVR_name=`ls -tr | tail -1` ; tar xvf $copiedIVR_name ' )
but i have to ... (1 Reply)
HI All
Please suggest how to untar archive on remote sever. When im trying use regular command without any flags everything is working fine:
$( ssh <user>@<server> -n '. ~/.profile >/dev/null 2>&1 ; cd /path_1 ; copiedIVR_name=`ls -tr | tail -1` ; tar xvf $copiedIVR_name ' )
but when im... (9 Replies)
Discussion started by: BACya
9 Replies
LEARN ABOUT MOJAVE
conjunct
CONJUNCT(1) General Commands Manual CONJUNCT(1)NAME
conjunct - find dates of equinox or new or full moon
SYNOPSIS
conjunct [options]
DESCRIPTION
conjunct searches for one of these events: spring equinox (default), summer solstice, autumn equinox, winter solstice, new moon, or full
moon.
OPTIONS -s, --start date
Set starting date (default is current date). The date may be either a Julian day number (e.g. 2454180.0 for noon, 2007 March 20) or
an ISO 8601 date (e.g. 2007-03-20).
-e, --end date
Set ending date (default is one year from now).
-V, --vernal, --spring
Search for spring equinox (default).
-S, --summer
Search for summer solstice.
-A, --autumn, --fall
Search for autumn equinox.
-W, --winter
Search for winter solstice.
-N, --newmoon
Search for new moon.
-F, --fullmoon
Search for full moon.
-h, --help
Show summary of options.
SEE ALSO aa(1).
AUTHOR
conjunct was written by Stephen L. Moshier <steve@moshier.net>.
This manual page was written by James R. Van Zandt <jrv@debian.org>, for the Debian project (but may be used by others).
August 24, 2006 CONJUNCT(1)