How do I pack (using tar zcvf ?) the current folder inluding all files and folders ??
I need to be sure to get all files and folders/subfolders...
Later I will unpack into a new folder on a new server..
Appreciate any help.. (3 Replies)
Alright, I am sure this is a laughable question, but I don't know so I am going to ask anyway.
I have a little script I am writing to take information from one source, recode it in a certain way, and print to files for each subject I have data for. This all works perfectly. I just want to put... (6 Replies)
Hi gurus,
I have set of files in a directory
ex : test_file1.csv
test_file2.csv
test_file3.csv
my requirement is to copy these files into another directory but with date appended to the name :
like after copying the files should look like : test_file1_07072008.csv
... (7 Replies)
How do I find files in current folder only?
We are on AIX 5.3, so maxdepth is not supported.
I tried to do this
find /dir1/dir2/dir3/dir4 -prune -type f
to display all files in /dir1/dir2/dir3/dir4 only but it does not show any files.
Somehow the -prune option works for dir3 level... (7 Replies)
Hello guys,
I am sure this has been asked before, but honestly, I cant find post talking about it.
Here is what I need:
- A tar file will be generated manually by user
- This tar file is then used within a bash shell script
My source folder structure is like this:
... (2 Replies)
I have multiple txt files which begin with the word "orders" in folder C:\source. I need to move the files to folder C:\dest and rename them to "process_<date>_<count>"
So for example , if there are 3 files ordersa.txt , ordersb.txt and ordersc.txt in C:\source , after running the script I want... (1 Reply)
I have multiple txt files which begin with the word "orders" in folder C:\source. I need to move the files to folder C:\dest and rename them to "process_<date>_<count>"
So for example , if there are 3 files ordersa.txt , ordersb.txt and ordersc.txt in C:\source , after running the script I want... (7 Replies)
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
I am trying to work on a script where it is a *(star) delimited file has a multiple lines starts with RTG and 3rd column=TD8 I want to substring the date part and
I want to replace with currentdate minus 15 days. Here is an example. iam using AIX server
$ cat temp.txt
RTG*888*TD8*20180201~... (1 Reply)
Discussion started by: Shankar455
1 Replies
LEARN ABOUT DEBIAN
merge-info
MERGE-INFO(1) XStow Reference Guide MERGE-INFO(1)NAME
merge-info, merge and unmerge GNU Info index files
SYNOPSIS
merge-info [OPTION ...] FILE FILE
DESCRIPTION
merge-info can merge and unmerge the GNU Info index files named 'dir'. These files are usally created by install-info at install time of an
application, or automatically generated by a mkinfodir script.
If you are installing 2 packages at two different locations, two different 'dir' files are created. Eg.: One in
/stow/foo/usr/local/info/dir
and one in
/stow/bar/usr/local/info/dir
This is the common case if you are using a tool like xstow(1). merge-info can handle this and can merge both 'dir' files and creates a new
'dir' file.
USAGE
merge-info [OPTION ...] FILE FILE
Merge two files:
merge-info /stow/foo/info/dir /stow/bar/info/dir
Remove the content of a 'dir' file from another 'dir' file
merge-info -u /stow/foo/info/dir /stow/bar/info/dir
OPTIONS -dl -debug-level INT
Set's the debug level. An unsigned integer is accepted. The default value is 0.
-h -help
Shows a help screen.
-V -Version
Displays the verion number of the XStow package. merge-info is shipped with xstow(1).
-u -unmerge
Unmerge instead of merge. Note: It is not possible splitting up one 'dir' file into two. But removing the content of one 'dir' file
from the other one is possible.
-o -outfile
Write the resulting 'dir' file not to stdout. Write it to a given file. Since merge-info does not open this outfile until all the
merging or unmerging stuff is done it is allowed that the outfile is one the source files. eg.:
merge-info -u foo/info/dir bar/info/dir -o foo/info/dir
-d -duplicate
Remove duplicate entries. When merging 2 files an entry can appear in more than one section. If you do not wan't this, use this option.
ENVIRONMENT VARIABLES
XSTOW_DEBUG_LEVEL
Same as the -debug-level option.
AUTHORS
merge-info was written by Martin Oberzalek <kingleo@gmx.at>.
COPYING
merge-info, a tool for merging GNU Info index files.
Copyright (C) 2004-2005 by Martin Oberzalek <kingleo@gmx.at>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
SEE ALSO info(1)install-info(1)xstow(1)XStow 1.0.0 2012-05-29 MERGE-INFO(1)