Hi, I'm new here an dlearning a lot from this forum. i didnt find any solution for this in the forum.
I have already checked in folders in subversion named
HTT01,... HTT21.. and have files in each folder like below:
HTT01/HTT01_00000.hex
HTT01/HTT01_00000_fb_result.hex... (2 Replies)
Hi guys:
I've got this problem, I want to move a bunch of files to 3 different folders, without any specific order, and I'm trying to automatize it with a shell script.
I'm a newbie at shell scripting so this is my first try:
#!/bin/bash
COUNTER=`ls -1 | wc -l`
while
do
ARRAY=(... (11 Replies)
Hi Friends,
Below is my requirement and i am not clear how to approach this issue in unix programming.
I have a folder with 2500 files. The files are in below format.
1234_name1.txt
1234_name123.txt
4567_name1.txt
4567_name123.txt
and i need a program which will read each file from this... (5 Replies)
Hello,
I need a simple script to Auto-detect new files and folders in the directory.
And then I need to zip the new files and bzip2 new folders and move them out of that folder where I am detecting changes to the other folder.
Remember, I need simple one. If anyone could do it fast, I may... (1 Reply)
Hi,
I am new to shell-scripting, and doing a lot of reading. I am having some trouble getting started with a simple testing of scripting. I have been experimenting with if, loops, for, test, etc., but still unsure. I seem to have the hang of it when it comes to creating a single file or... (6 Replies)
Hello all,
I would appreciate any help to write a script. I have folder A which contains over 30 thousands xml files, I would like create multiple folders and move those files (500 in each folders).
Thank you (1 Reply)
I have a directory /home/cmccabe/nfs/exportedReports that contains multiple folders in it. The find writes the name of each folder to out.txt. A new directory is then created in a new location /home/cmccabe/Desktop/NGS/API, named with the date. What I am trying to do, unsuccessfully at the moment,... (7 Replies)
Hello all,
do you know any way i can i move folders and its content if folder is older than 1,5 days in bash?
I tried:
find /home/xyz/DATA/* -type d -ctime +1.5 -exec mv "{}" /home/xyz/move_data_here/ \;All i got was that Files from DATA /home/xyz/DATA/* ended messed up in... (1 Reply)
I've got this script to loop through all folders and move files that are more than 2 years old. I'm using the install command because it creates the necessary directories on the destination path and then I remove the source. I'd like to change the script to use the mv command since it is much... (4 Replies)
Discussion started by: consultant
4 Replies
LEARN ABOUT DEBIAN
bup-random
bup-random(1) General Commands Manual bup-random(1)NAME
bup-random - generate a stream of random output
SYNOPSIS
bup random [-S seed] [-fv]
DESCRIPTION
bup random produces a stream of pseudorandom output bytes to stdout. Note: the bytes are not generated using a cryptographic algorithm and
should never be used for security.
Note that the stream of random bytes will be identical every time bup random is run, unless you provide a different seed value. This is
intentional: the purpose of this program is to be able to run repeatable tests on large amounts of data, so we want identical data every
time.
bup random generates about 240 megabytes per second on a modern test system (Intel Core2), which is faster than you could achieve by read-
ing data from most disks. Thus, it can be helpful when running microbenchmarks.
OPTIONS
the number of bytes of data to generate.
Can be used with the suffices k, M, or G to indicate kilobytes, megabytes, or gigabytes, respectively.
-S, --seed=seed
use the given value to seed the pseudorandom number generator. The generated output stream will be identical for every stream
seeded with the same value. The default seed is 1. A seed value of 0 is equivalent to 1.
-f, --force
generate output even if stdout is a tty. (Generating random data to a tty is generally considered ill-advised, but you can do if
you really want.)
-v, --verbose
print a progress message showing the number of bytes that has been output so far.
EXAMPLES
$ bup random 1k | sha1sum
2108c55d0a2687c8dacf9192677c58437a55db71 -
$ bup random -S1 1k | sha1sum
2108c55d0a2687c8dacf9192677c58437a55db71 -
$ bup random -S2 1k | sha1sum
f71acb90e135d98dad7efc136e8d2cc30573e71a -
$ time bup random 1G >/dev/null
Random: 1024 Mbytes, done.
real 0m4.261s
user 0m4.048s
sys 0m0.172s
$ bup random 1G | bup split -t --bench
Random: 1024 Mbytes, done.
bup: 1048576.00kbytes in 18.59 secs = 56417.78 kbytes/sec
1092599b9c7b2909652ef1e6edac0796bfbfc573
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown-bup-random(1)