Since this site solved my problems before, I am back for more (solutions)
I down load via a script every day a file that has the same name as the file of the day before. I want to move that file to its own directory like:
/archive/jul30
How do I capture the systems date in a script an... (2 Replies)
Hi All
I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age.
I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Hi, I have a question, is there any way I can, when i create a directory, put the current date on it so that the directory name will be "name-current date"? just curious (3 Replies)
Hi,
Is there a way to zip the content (recursively) of a folder other then the current directory, and keep the directory structure intact?
Example:
/var/tmp/myfolder
----------------- file1
----------------- file2
----------------- folder1
------------------------ file3
Now I want... (3 Replies)
I am preparing a shell script to backup a few config files on a daily basis, with a retention of 30 days. Need some help with syntax/examples:
The shell script (running as cron) would require the following:
1. create a sub-directory within a specified (backup) directory, in the format... (3 Replies)
Hello,
I want to use the string with the current directory in my awk command.
I tried: 'pwd=system("pwd")'
but it doesn't work. can please help somebody? (2 Replies)
Hello All,
I have to write a shell script and use it in informatica. The script has to perform below actions:
The script gets executed from edw user.
Through the script, a DT folder has to be created under edw_sca user.
Is this scenario possible through a SHELL script or not.
... (2 Replies)
The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output.
If there is a... (0 Replies)
In the below I am trying to create a parent directory using the R_2019 line from f1 if what above it is not empty.
I then create sub-directories under each parent if there is a match between $2 of f1 and $2. Inside each sub-folder the matching paths in $3 and $4 in f2are printed. If there is no... (2 Replies)
In the below bash I am trying to ensure that all folders (represented by $folders) in a given directory are created. In the file f1 the trimmed folder will be there somewhere (will be multiple trimmed folders).
When that trimmed folder is found (represented by $S5) the the contents of $2 printed... (19 Replies)
Discussion started by: cmccabe
19 Replies
LEARN ABOUT V7
root
ROOT(1) General Commands Manual ROOT(1)NAME
root - Interpretor of C++ for the ROOT framework
SYNOPSIS
root [options] files ...
DESCRIPTION
ROOTs Object-Oriented Technologies.
root is a interactive interpretor of C++ code. It uses the ROOT framework. For more information on ROOT, please refer to
http://root.cern.ch.
An extensive Users Guide is available from that site.
OPTIONS
-? Show summary of options.
-b Run in batch mode without graphics
-n Do not execute logon and logoff macros as specified in .rootrc
-q Exit after processing command line macro files
-l Do not show splash screen
SEE ALSO rootcint(1), cint(1), root-config(1), rootd(1), h2root(1), g2root(1)
For extensive documentation on the ROOT system, see http://root.cern.ch <http://root.cern.ch>
A Users Guide is available online. <http://root.cern.ch/root/UsersGuide.html>
The classes of ROOT are all documented by the automatic documentation system, and is available online.
<http://root.cern.ch/root/html/ClassIndex.html>
FILES
<etcdir>/system.rootrc
System-wide configuration file. <etcdir> either ROOTSYS, or something like /etc/root
<libdir>/*
ROOT C++ class libraries. <libdir> is either ROOTSYS/lib or something like /usr/lib/root.
<incdir>/*
The header files for the ROOT C++ class libraries. <incdir> is either ROOTSYS/include or something like /usr/include/root.
~/.rootrc, ./.rootrc
User configuration file
ORIGINAL AUTHORS
The ROOT team (see web page above):
Rene Brun and Fons Rademakers
COPYRIGHT
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pub-
lished by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foun-
dation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
AUTHOR
This manual page was written by Christian Holm Christensen <cholm@nbi.dk>, for the Debian GNU/Linux system (but may be used by others).
ROOT Version 3 ROOT(1)