Forum Moderators: coopster
ls /path/to/directory | xargs -I {} mv {} /path/to/directory/$RANDOM.php
30 * * * * ls /path/to/directory | xargs -I {} mv {} /path/to/directory/$RANDOM.php >/dev/null 2>&1
ls /path/to/directory | xargs -I {} mv /path/to/directory/{} /path/to/directory/$RANDOM.php
[php]\> mkdir test
[php]\> touch test/12345.php
[php]\> ls test | xargs -I {} mv test/{} test/$RANDOM.php
[php]\> ls test
25580.php
[php]\> ls test | xargs -I {} mv test/{} test/$RANDOM.php
[php]\> ls test
15566.php
[php]\>