9 More Discussions You Might Find Interesting
1. Solaris
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies
2. Shell Programming and Scripting
Is there a way via some bash script or just cmd to find duplicate directories?
i have main folders:
TEST1
TEST2
In folder TEST1 is some amount of same folders as in folder TEST2
can be this done? i tried fdupe but it only search for dupe files not whle dirs
thx! (8 Replies)
Discussion started by: ZerO13
8 Replies
3. Programming
Hello All,
I have got some assignment to complete till this Monday and problem statement is as follow :-
Problem :- Find duplicate files (especially .c and .cpp) from two project base directories with following requirement :-
1.Should be extendable to search in multiple base... (4 Replies)
Discussion started by: anand.shah
4 Replies
4. Shell Programming and Scripting
Hi,
In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'.
In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Discussion started by: machomaddy
7 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
Using grep command, i want to find the pattern of text in all directories and sub-directories.
e.g: if i want to search for a pattern named "parmeter", i used the command
grep -i "param" ../*
is this correct? (1 Reply)
Discussion started by: vinothrajan55
1 Replies
6. Shell Programming and Scripting
Hi all,
I need to create duplicate directories and sub directories (only the directories not the files or file contents) with the same permissions. Can some one guide me in doing this. I could able to create but here the permissions should be the same how can i do this in linux.
Thanks in... (5 Replies)
Discussion started by: Olivia
5 Replies
7. Shell Programming and Scripting
Hello Gurus,
O/S RHEL4
I have a requirement to compare two linux based directories for duplicate filenames and remove them. These directories are close to 2 TB each. I have tried running a:
Prompt>diff -r data1/ data2/
I have tried this as well:
jason@jason-desktop:~$ cat script.sh ... (7 Replies)
Discussion started by: jaysunn
7 Replies
8. Shell Programming and Scripting
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Discussion started by: ejianu
5 Replies
9. Shell Programming and Scripting
Hi,
I have file which users like
filename ->"readfile", following entries
peter
john
alaska
abcd
xyz
and i have directory /var/
i want to do first cat of "readfile" line by line and first read peter in variable and also cross check with /var/ how many directories are avaialble... (8 Replies)
Discussion started by: learnbash
8 Replies
TOKYOTYRANTITERATOR(3) TOKYOTYRANTITERATOR(3)
The TokyoTyrantIterator class
INTRODUCTION
Provides an iterator for TokyoTyrant and TokyoTyrantTable objects. The iterator iterates over all keys and values in the database. Toky-
oTyrantIterator was added in version 0.2.0.
CLASS SYNOPSIS
TokyoTyrantIterator
TokyoTyrantIteratorIterator
Methods
o public TokyoTyrantIterator::__construct (mixed $object)
o public mixed TokyoTyrantIterator::current (void )
o public mixed TokyoTyrantIterator::key (void )
o public mixed TokyoTyrantIterator::next (void )
o public void TokyoTyrantIterator::rewind (void )
o public bool TokyoTyrantIterator::valid (void )
Inherited methods
o public number TokyoTyrant::add (string $key, number $increment, [int $type])
o public TokyoTyrant TokyoTyrant::connect (string $host, [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])
o public TokyoTyrant TokyoTyrant::connectUri (string $uri)
o public TokyoTyrant::__construct ([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])
o public TokyoTyrant TokyoTyrant::copy (string $path)
o public string TokyoTyrant::ext (string $name, int $options, string $key, string $value)
o public array TokyoTyrant::fwmKeys (string $prefix, int $max_recs)
o public mixed TokyoTyrant::get (mixed $keys)
o public TokyoTyrantIterator TokyoTyrant::getIterator (void )
o public int TokyoTyrant::num (void )
o public TokyoTyrant TokyoTyrant::out (mixed $keys)
o public TokyoTyrant TokyoTyrant::put (mixed $keys, [string $value = NULL])
o public TokyoTyrant TokyoTyrant::putCat (mixed $keys, [string $value])
o public TokyoTyrant TokyoTyrant::putKeep (mixed $keys, [string $value])
o public TokyoTyrant TokyoTyrant::putNr (mixed $keys, [string $value = NULL])
o public mixed TokyoTyrant::putShl (string $key, string $value, int $width)
o public mixed TokyoTyrant::restore (string $log_dir, int $timestamp, [bool $check_consistency = true])
o public mixed TokyoTyrant::setMaster (string $host, int $port, int $timestamp, [bool $check_consistency = true])
o public int TokyoTyrant::size (string $key)
o public array TokyoTyrant::stat (void )
o public mixed TokyoTyrant::sync (void )
o public TokyoTyrant TokyoTyrant::tune (float $timeout, [int $options = TokyoTyrant::RDBT_RECON])
o public mixed TokyoTyrant::vanish (void )
PHP Documentation Group TOKYOTYRANTITERATOR(3)