Hi,
I look for a script to create 150 directories :
d000
d001
d002
...
...
d149
would you help me please ?
I think it would be
for i
mkdir d$i
Many thanks.
PS :
#uname -a
AIX fserver 3 5 0050691A4C00 (2 Replies)
Is there ant way to increase max number of folders in the directory from the 32766:
Problem UFS:
shell>mkdir mmm
mkdir: mmm: Too many links
But there are no links, just folders.
shell>ls | wc -l
32766 (3 Replies)
I am having trouble using cp and mkdir commands on a small script. The problem is I have spaces what I am trying to mkdir and then copy. Any suggestions on how I can solve this problem? I've tried searching online.
while read linefile
do
echo mkdir -p $CPP$linefile | cut -d / -f 1-5,8-12
... (10 Replies)
Hi, please help me with this small script
#!/bin/sh
curdir=`pwd`
n20=$curdir'/n20/'
msat=$curdir'/n20/msat/'
if
then
mkdir $n20
fi
if
then
mkdir $msat
fi
for a in 30 40 50 60 70 80
do (4 Replies)
Hi, Unix Gurus,
- I have a simple question, I need create multiple directory. I use
mkdir {dir1, dir2, dir3)
I got one directory as
{dir1, dir2, dir3}
I searched @ google, I got answer as above code.:wall::confused:
Anybody has any idea
Thanks in advance
---------- Post updated... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Do the procedure, which if there are 5 parameters then it creates 4 directories with names of 4 parameters, in... (2 Replies)
hi linux expert
what is a difference between:
mkdir test and mkdir ./test
and also
if ( -e /test ) then and if ( -e ./test ) then
thanks in advance
Please use icode or code tags next time for your code and data (1 Reply)
Importing images from a camera (or two).
I sort by date (1901 this month).
Currently (failing)
if ]
then
echo "Found Panasonic G9X"
#echo "List files on camera"
#ls ${pana}/*
. chxdir.sh ${photos}/$mn
I want to change directory to a fixed base ($photos)/$mn... (10 Replies)
Discussion started by: dpawson
10 Replies
LEARN ABOUT DEBIAN
update-catalog
UPDATE-CATALOG(8) Debian UPDATE-CATALOG(8)NAME
update-catalog - create or update entry in SGML catalog file
SYNOPSIS
update-catalog [options] --add centralized_catalog ordinary_catalog
update-catalog [options] --remove centralized_catalog ordinary_catalog
update-catalog [options] --update-super
DESCRIPTION
update-catalog inserts, updates or removes entries in the SGML centralized catalogs located in /etc/sgml. To change the SGML super catalog
located in /etc/sgml/catalog modify the directory contents of /etc/sgml to contain new files or symbolic links having a .cat extension or
remove (or move) existing centralized catalogs and regenerate the super catalog using the --update-super option. See section SUPER CATALOG
for details on the generation process.
OPTIONS --add Adds an entry for the ordinary_catalog in the centralized_catalog.
--remove
Removes the entry for the ordinary_catalog from the centralized_catalog.
--update-super
Regenerates the SGML super catalog from the contents of the /etc/sgml directory. See section SUPER CATALOG for details on the super
catalog generation.
--quiet
Prevents the usual diagnostic output.
--test Prevents the update of the catalog and writes the resulting SGML catalog to standard output.
--version
Displays the version information and exits.
--help Display the usage information and exits.
SUPER CATALOG
The super-catalog located in /etc/sgml/catalog cannot be directly modified. It is generated by the update-catalog --update-super command.
The generation considers files in the /etc/sgml directory that have a .cat extension. For instance files ending in .old or .disabled are
not considered. Before adding a catalog to the super catalog it is parsed and verified in order to not corrupt the super catalog. All
referenced catalogs are verified to actually exist. If the check fails, a message is printed and the complete catalog is ignored. This
check ensures that a catalog from a package, which is removed but not purged, is removed from the super catalog.
AUTHOR
Ardo van Rangelrooij <ardo@debian.org>
COPYRIGHT
Copyright (C) 2001-2004 Ardo van Rangelrooij Copyright (C) 2012 Helmut Grohne
This is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is no warranty.
Debian Project June 2004 UPDATE-CATALOG(8)