Registered Member
|
I would like to fill in Amarok X megabytes of MP3 player with playlist of random songs Amarok automatically. Selecting only the amount of Megabytes and the device and fills it with Amarok playlist random songs.
Sorry for my english |
Global Moderator
|
It is difficult to get exactly "X megabytes" of whatever random collection of files that you are copying simply due to there being a ton of possible combinations of file sets that could give you "X megabytes".
Better is to keep on copying random files until you've hit the limit. http://thinkmoult.com/2010/01/12/tech-t ... directory/ That post may help - with a few modifications to check the filesize with du -sh /path/to/end/directory and breaking the loop when filesize > x, then it'll solve your problem.
Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured! WIPUP.org - a unique system to share, critique and track your works-in-progress projects. |
Registered users: Bing [Bot], Evergrowing, Google [Bot]