New answers tagged

5

you could use find and shuf: #!/bin/bash SOURCE="path/to/source" DESTINATION="path/to/destination" COUNT=25 rm -r "${DESTINATION}/"* find "$SOURCE" -mindepth 2 -maxdepth 2 -type d|shuf -n $COUNT|xargs -d'\n' -I{} cp -r "{}" "$DESTINATION"


8

The script below should do the job: #!/usr/bin/env python3 import random import os import subprocess import shutil # set the desired number of folders to pick below n_selection = 5 # set the name of the flash drive below flashdr = "Lexar" # set the source directory (with media folders) below sourcedr = "/path/to/mediafiles" # --- try: targetdr = ...


1

I made a script with Python: The script, at GitHub Gist. (Download) Usage: python3 RandomCopier.py [source folder] [destination folder] [number to copy] The copy method: NOTE: It will not copy any files directly in the source folder, only those in sub-folders of it. Say, the source folder, src is: src |- a | |- file_a | |- file_a_2 | |- b | |- ...


1

Following are few that you might like to give it a try: (I have given links for each software for you to read all features in detail) JACK: Jack Audio Connection Kit is probably the most celebrated tool as far as music production on Linux is concerned. It's ability to integrate with various other applications makes it favourite candidate. One of the ...


1

Well, the most ambitious one is the multi-platform paid proprietary DAW called Bitwig Studio, which is quite similar to popular Ableton (in fact, it's built by some Ableton developers). You can also try a more traditional and totally free and open source DAW Ardour (well, you have the "pay what you want" price for downloading the binaries, but you can ...


0

Sadly I don't have enough reputation to post more than two links, but here's the link to the relating german wiki page, which lists a number of programs you'll find useful.


1

There's a service that should be installed that scans your music and creates a library for the application to use. You can restart this service by executing the following command: restart mediascanner-2.0 If that doesn't work or isn't valid, you may need to install the daemon: sudo apt-get install mediascanner2.0


2

Removing this directory worked for me to get rid of the error: rm $HOME/.config/Clementine UPDATE: After further inspection, the problem comes from the Clementine config file "$HOME/.config/Clementine/Clementine.conf" You can either erase the file, or if you want to keep your seetings, simply remove the GstEngine section within the file. Here's what ...


0

Open the Dash and launch a Terminal and enter: sudo apt-get install ubuntu-restricted-extras && sudo apt-get install gstreamer0.10-plugins-good Enter your password to complete the installation. More info HERE


0

I've had the same problem with elementary 0.3.2. It looks like the cause of the problem is not the buffer size, but rather the network manager, which apparently intermittently has the WiFi device scan for networks. This seems to interrupt the stream, so independently of the buffer size there are little parts of the stream missing, which produces the ...


0

Emby-Server is great for that .. i can listen to my music, view photos, even watch tv because my server has a tuner connected .. the emby app is available in the google play store If you take a lot of photos and would like to save some space .. Syncthing is also a nice program that will sync any files on the phone you want when you are connected to your ...



Top 50 recent answers are included