Hello guys it's me again, I need some help. What I'm doing is listing all the file and directories Recusively and using it a a master file. Then I need to do the same the nest day to make sure nothing was deleted or modified. What happen is file in one of out major directories was deleted without... (2 Replies)
Hi All I have two scripts which i used to try and list all the directories one using 'function', which only lists the first directory and does not show directories within directories.
function ListDir ()
{
for arg in $(ls $HOME)
do
if
then
echo $arg
... (2 Replies)
I have a large list of filenames from an Excel sheet, which I then translate into a simple text file. I'd like to use this list, which contains various file extensions , to archive these files and then remove them recursively through multiple directories and subdirectories. So far, it looks like... (5 Replies)
Hi all,
I'm trying to get a bash script working for a program (bowtie) which takes a list of input files (*.fastq) and assembles them to an output file (outfile.sam). All the .fastq files are in one folder in my home directory (~/infiles).
The problem is that the 'bowtie' requires that... (7 Replies)
Hello,
I'm trying to figure out how best to approach this script, and I have very little experience, so I could use all the help I can get. :wall:
I regularly need to delete files from many directories.
A file with the same name may exist any number of times in different subdirectories.... (3 Replies)
Hi,
I have a command in my bash script, searchDirectoryName.sh:
DIR_NAME=$(find . -type d)
echo "${DIR_NAME}"
.
./Dir1
./Dir1/1.0.2.1
./Dir2
./Dir2/1.1
./Dir3
./Dir3/2.2.1
How can I select only following directory names with second subdirectoies and without first ./ in the... (3 Replies)
Hello :)
I need little help i have following cmd:
this only able to delete files but not folder which contain that file
find /home/test/* -name "*.testfile" -type f -exec rm -i {} \;
how to delete whole directory if file called somethingblahblah.testfile is there?
Thanks you :) (3 Replies)
Hello,
I have a SAS code that predominantly has comments line and the real code like below and i want to remove ONLY THE COMMENTS from the code in the single line or spanned across multiple lines.
/********************************************************************
*** This Is a Comment... (4 Replies)
Discussion started by: arooonatr
4 Replies
LEARN ABOUT DEBIAN
metapixel
METAPIXEL(1)METAPIXEL(1)NAME
metapixel - generator for photomosaics
SYNOPSIS
metapixel-prepare [options] [srcdir] [destdir]
prepares the pictures in srcdir by creating resized images and a table file in destdir
metapixel [options] [--metapixel input.jpg output.png --library destdir]
creates a photomosaic output.png using input.jpg as the input image and destdir/tables.mxt as table file
DESCRIPTION
This manual page documents briefly the metapixel and metapixel-prepare commands. For more information check the README file included in the
distribution.
metapixel is a program for generating photomosaics. It can generate classical photomosaics, in which the source image is viewed as a matrix
of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular
parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images.
metapixel-prepare is a utility that needs to be run before metapixel can be used. It prepares your source images so that they can be used
by metapixel to create the actual photomosaic.
USAGE
metapixel-prepare srcdir destdir has to be run first. srcdir is the path to the directory containing the source images, e.g. ~/Pic-
tures/Holidays. destdir, e.g. ~/.metapixel, is the path to the directory where you want to store the rescaled images and the tables.mxt in-
dex file. This directory should be created manually before running metapixel-prepare.
metapixel --metapixel input.jpg output.png --library destdir is then used to transform an image (input.jpg) into a mosaic (output.png) us-
ing the source images (described by destdir/tables.mxt).
OPTIONS
The options are described in the README file or by running metapixel or metapixel-prepare with the --help option.
SEE ALSO
The README file is included in the Metapixel distribution.
AUTHOR
This manual page was written by Chris Vanden Berghe <Chris@VandenBerghe.org> for the Debian system (but may be used by others). Permission
is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
AUTHOR
Chris Vanden Berghe.
May 5, 2004 METAPIXEL(1)