F5F Stay Refreshed Software Operating Systems Create endless folders using random numbers on Linux by generating unique paths and placing them.

Create endless folders using random numbers on Linux by generating unique paths and placing them.

Create endless folders using random numbers on Linux by generating unique paths and placing them.

V
vincentnele
Member
223
09-24-2016, 05:02 AM
#1
adjust the naming pattern to include random numbers instead of just dots.
V
vincentnele
09-24-2016, 05:02 AM #1

adjust the naming pattern to include random numbers instead of just dots.

M
MaybeChalita
Junior Member
4
09-24-2016, 06:57 AM
#2
plus one from the last number
M
MaybeChalita
09-24-2016, 06:57 AM #2

plus one from the last number

G
Grox2049
Member
67
10-01-2016, 08:36 PM
#3
Assign the random value from $RANDOM to the directory path.
G
Grox2049
10-01-2016, 08:36 PM #3

Assign the random value from $RANDOM to the directory path.

S
SashaUHC
Member
101
10-04-2016, 10:32 PM
#4
Ok thanks
S
SashaUHC
10-04-2016, 10:32 PM #4

Ok thanks

J
JonoGaimz
Member
63
10-07-2016, 10:43 PM
#5
Interesting idea, right? It could be useful for ensuring old data is fully erased. Writing over existing files when deleting storage does consume space, so a script like this would help avoid overwriting what was already gone. If you're selling the machine but don’t want a full data wipe, this would work well for most purposes.
J
JonoGaimz
10-07-2016, 10:43 PM #5

Interesting idea, right? It could be useful for ensuring old data is fully erased. Writing over existing files when deleting storage does consume space, so a script like this would help avoid overwriting what was already gone. If you're selling the machine but don’t want a full data wipe, this would work well for most purposes.