Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-10-2008, 01:16 PM
|
#1
|
LQ Newbie
Registered: Jan 2008
Location: Latvia, Riga
Distribution: Slackware current
Posts: 16
Rep:
|
Random copying
There are a way or script to copy files randomly in cli?
|
|
|
11-10-2008, 01:17 PM
|
#2
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
What are you trying to accomplish?
|
|
|
11-10-2008, 01:18 PM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
randomly??? if ever somethign needed more detail...
|
|
|
11-11-2008, 11:36 AM
|
#4
|
LQ Newbie
Registered: Jan 2008
Location: Latvia, Riga
Distribution: Slackware current
Posts: 16
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
randomly??? if ever somethign needed more detail...
|
Lets say I have files 1.ogg 2.ogg 3.ogg 4.ogg and I want copy them to player every time in different order like 2.ogg 1.ogg 3.ogg 4.ogg or any else combination. But combination must change every time wen I copy files.
Thanks for answers in advice.
|
|
|
11-11-2008, 11:41 AM
|
#5
|
Senior Member
Registered: Apr 2007
Location: West Virginia
Distribution: Linux Mint
Posts: 1,009
|
Can't you use (or doesn't it have) the shuffle capability of your player?
|
|
|
11-11-2008, 11:41 AM
|
#6
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
In this case, use a music player that allows you to play randomly from a playlist. The option is usually called shuffle.
|
|
|
11-11-2008, 11:46 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well no one is seriously going to write a formal program to do that, but that doesn't stop you scripting something yourself in a few minutes.
in future, write useful and informative questions please. despite the fact that it would be very useful here, we aren't psychic.
|
|
|
11-13-2008, 08:07 AM
|
#8
|
LQ Newbie
Registered: Jan 2008
Location: Latvia, Riga
Distribution: Slackware current
Posts: 16
Original Poster
Rep:
|
Thanks to every one for answers. Well next time I'll try ask questions more informative. And no my player is more then 2 years old and don't support play list nor shuffle it play file by file like write in. Well for scripting I had to short brains and hands. 
|
|
|
All times are GMT -5. The time now is 03:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|