General :: Queue Up All Audio Files In Particular Folder Which Also Has .txt Files?
Mar 20, 2010
I wanted to queue up all audio files in particular folder which also has .txt files.I tried$find /data/songs -iname '[^txt]' -exec totem --enqueue '{}' ';'Thinking that this will exclude txt like expression in 'grep'.It did not work
I am directly creating "qf" & "df" files into the sendmail queue folder and then processing this queue by command line. This is the only way to export data and email from this old application I am stuck with.This works quite well in my test enviornment but I am really new to linux/sendmail and just looking for any feedback on this process. Is this direct creation of queue files safe and any pitfalls that I should be aware of?
I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?
When streaming audio, firefox stores files in the cache folder(home/.mozilla/firefox/xxx .default/OfflineCache.However, one the file has finished downloading, it disappears from this folder. Does anyone know where it goes?
In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.
How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.
I have installed this program ok but I am new to command lines in terminal.
I want to convert some wav files to wma files. I have the wav files currently in a folder called Test to make it easy. So I have entered the following command line:
ajpearson@ajpearson-laptop:~/Desktop/pacpl-4.0.5$ pacpl --to wma home/ajpearson/Desktop/Test and the error message I get is:
error: the following is not a file or directory: home/ajpearson/Desktop/Test
It does not matter what directory I use I get the same error. I am sure the answer is obvious - but not t me.
What would be a nice, simple command to go through all files in a directory (no sub-directories), and change all the MP4 Video files I have to MP3 audio files (keeping the original filenames except for changing the "mp4" extension to "mp3")?
The files in question were videos taken with one of those Flip cameras, but I only need the audio off of it.
I have a doubt wrt to installing "Q" files . I have cloned a repo from git ..Yesterday I tried to install Libre office using sbopkg..It began with the download and gave an error asking me to retry/abort or continue with the build due to some missing package..I presently have a folder "queues" in /var/lib/sbopkg..I also downloaded another repo and placed it another folder. The problem is that in SBOpkg it is picking up only from the queue folder in /var/lib/SBOpkg/Queues. I dont know how to point to the other folder in /home/downloads/queues/ (the second repo)..I thought of trying this as neither slackbuild or the first repo is working for installing libre office..The internet connectivity is ok!
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I use mplayer/mencoder to make *.avi files from mpegs. Now I wonder is it possible to someway queue commands. I needed because I try to use mencoder at night time, while I sleep. I could encode about 4-5 movies / night but how to do it?
I got a folder that I transfer stuff to all the time. the folder is in chmod 775 but when i upload folders and files, they are given chmod 700, but i want it chmod 775 everytime i upload something. so far i have logged in to my linux computer and did a chmod -R 775 to the folder every time i uploaded something to it. is there a function somewhere to make it 775 everytime i upload or can i have something run a script, so i don't have to go in and write it everytime i upload something?
How can I play audio files via terminal. Afaik I've to install mplayer. Suppose I want to play list of audio files, is there any way to play all the files simultaneously via terminal?
I have an external 2.5" eSATA drive which up till now was using via USB2.0 connection and was working perfectly. The drive is pretty new - I think less then a year and it's a Seagate too of which I think to be more reliable although still consumer based.I had connected the drive to FreeBSD 8.0 32bit on my server in ReadOnly mode using ext2fs in order to stream the information across my network.
Plugging the drive into Linux recently yielded everything performing fine, as the drive stores all the seasons of a TV show I started recognizing that things where outa whack when the linearity of the episodes stopped being sequential and previous episodes started playing when clicking an incremented episode.
The drive is formatted with the ext3 filesystem and I have already attempted to run e2fsck -p on it which showed up as the drive being 'clean'.I then attempted to use my notebooks eSATA Express card to connect the drive via the eSATA cable as I have found it to be more reliable then the USB2 / ext3 solution which I've had my fair share of problems with. However, the drives TOC or Journal maybe damaged by whatever reason so I will need to repair that.I stumbled across Magic Rescue and so far have compiled it but not used it as I wanted to be sure first if there was another way to do this.
In my bash script I need to move files in a folder if it is not in use.
Code: for entry in `ls /root/shared_storage/input`; do echo $entry run=`lsof /root/shared_storage/input/$entry` ru=${run:0:5} echo $entry if [ "$ru" == "" ]; then ........ It worked fine sometimes but sometimes it just get stuck at lsof. Is there any other way that I can use here to check if the $entry is using some other process?
My configuration-Ubuntu9.04. My VLC plays only the first audio file in the playlist among the files in the playlist,after that it automatically exit. When I press the next tab,then also it exit.I've reinstalled VLC,but also the problem exist. "VLC media player 0.9.4 Grishenko"
I'm trying to copy a list of files except the files which has ".log" in the filename to another folder.I can run it correctly when I am located in the Source folder, but not when I am in any other location.cd /home/me/Sourcels /home/me/Source -1|grep -v "^.*log$" |xargs -n 1 -iHERE cp -r HERE /home/me/DestinationHow can I indicate both Source and Destination Folder?
I would like to ask you if there is any maximum allowed number of files per folder in linux (without risking it to lose everything). I am using openuse 11.4 with latest kde (4.6?).
I am trying something fast and dirty and it might be that one folder will contain like 10^6 files.
Is there is anything I should be warned about that?
sudo cp ../../../rootfs_maker_ramdisk drivers/filesystem/ -rf give below errorCode:cp: cannot create special file ...._rootfs/dev/hda4': No such device or addressi get this error only in some specific locationsif i dont use sudo then i get permission denied msg