Ubuntu Multimedia :: Script (or Command) To Subdivide Directories?

Mar 13, 2011

'm looking for a quick command-line script or command to subdivide directories into alphabetical indexes:

/parent/aardvark/food
/parent/aardvark/etc
/parent/asteroid/help
/parent/asteroid/welcomeoverlords

[code].....

I have found lots of scripts to merge them all back, but can't seem to nail down one that subdivides.

View 6 Replies


ADVERTISEMENT

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related

Ubuntu :: Command To List Directories And Sizes?

Mar 23, 2010

I need a command to list the total sizes for all the directories in a mounted drive.I tried df and du.df list the total size for the mounted drivedu depending on what option I give it either list the total size or list all the sizes for every file on the drive.All I want to know is the sizes of all the directories on the mounted drive.This is a windows vista hard-drive and for some reason ubuntu is reporting a 50 GB partition and only 10GB free, I want to know what's taking up all the free space. I can't find anything in the file browser, so far I've only managed to count up about 10GB of used space so where is the other 30GB.

View 3 Replies View Related

Fedora :: CLI :: Ls -d Command :: Won't Display Directories

Oct 22, 2010

I want it to only display the directories in the folder, but when I use ls -d, it tells me the only directory is '.' .But, if I use ls -p it recognises the directories for what they are.

Code:

[root@xxx test]# ls
dir1 dir3 file2.txt file4
dir2 file1.txt file3.txt file5

[code].....

I have also tried dir -d, with the same results...

View 5 Replies View Related

General :: Command To Show Me Which Directories It Linked To?

Mar 25, 2010

Which command will tell me whether a directory is a symbolic link or not?
if it is a symbolic link, is there another command to show me which directories it is linked to?

View 1 Replies View Related

Ubuntu :: Single Command That Will Remove All 'other'permissions From All Files And Directories Under /home?

Sep 10, 2010

What is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.

View 1 Replies View Related

Server :: Configuring Shared Directories Via Command Line

Nov 29, 2010

Would anyone be so kind as to point me to a good reference for how use the command line to configure a directory to be shared in the directory properties?I know how to do it using graphical tools such as Nautilus, Konqueror, and Gnome's shares-admin, but I'd like to know how to do with via command line, because, once you know the commands, the command line is always quicker.I guess you could say I'm looking for a command line method for sharing directories in much the same way that chmod sets permissions from the command line.

View 3 Replies View Related

General :: Command To Find A Specific Word In Directories And Subdirectories?

Jun 7, 2010

tell me the command used to find a specific word in directories and sub-directories in linux?

View 4 Replies View Related

General :: Command Line - Create Directories That Don't Exist While Creating A New File?

May 8, 2010

I can do:mkdir messages and then: touch messages/hello.txt Is there a command that will do both - create the directory if it doesn't exist, and then the empty file? Something like: touch -p messages/hello.txt

View 1 Replies View Related

General :: Command For Listing Files/dirs Recursively Of Specific Directories?

Jul 22, 2011

suppose in my current directory, I have 50 sub-directories. Now, I am interested only in about 20 of those sub-directories (whose names match a pattern). I would like to recursively list the contents of these 20 sub-directories. How do I do that ? I would like to do this in Solaris 10 and Linux(RHEL 5.x).

View 3 Replies View Related

Ubuntu Multimedia :: MPD Not Reading Directories

May 26, 2011

I'm trying to setup ncmpcpp correctly and I'm running into an issue with mpd not reading my directories correctly. I dual boot ubuntu/w7 on this computer, and for the sake of laziness I just keep all of my music within the default windows folder ( since half my music was there first ). Now I have a symlink within my home directory's music folder that points to this, however according to mpd it isn't a director.

View 2 Replies View Related

Ubuntu Multimedia :: MiniDLNA And The Invisible Directories ?

May 26, 2010

I've been using a headless ubuntu machine for a few months now to torrent stuff and serve it up to my PS3 using MiniDLNA.

Everything was working fine until this morning when i decided the list of stuff in ~/Movies/Torrents was too long. I opened up the directory on my Mac (shared over the network using avahi and netatalk so my Mac thinks it's another Mac) and made some folders for shows in there. I moved the files into them and turned on my PS3. It was a bloodbath, only one of the new folders is seen by the PS3. It still sees folders that were created by transmission.

I changed the permissions to 777 for everything (had to to move folders around) and I also gave the new folders to my transmission user and group lest that was the problem (it wasn't).

Below is a screenshot of $ls -l ~/Movies/Torrents I have marked the ones that show up on the PS3. Only 'Lost' was made today out of the ones it sees. [url]

It's Ubuntu 9.10.

View 1 Replies View Related

Ubuntu Multimedia :: Converting Entire (sub) Directories Of Video

Nov 2, 2010

I have a collection of music videos of various ages, and want to consolidate the codecs into mp4 files with the following criteria:

1) Retain the same directory structure and same name, hopefully with something like "/music/Videos (Encoded)/" and "/music/Videos (Failed Encoding)/" (Note: Using UTF-8 filenames)

2) Prefer to do this all in one batch; terminal commands/ bash script = awesome

3) Keep the highest quality video without having to encode everything the same (some widescreen, some hd, some with super low resolution)

4) Retain the audio stream untouched (plus, some help on what command to do to convert it to a good format) and, hopefully, to encode with settings that allow for universal apple playback (Handbrake as a great preset for this)

View 2 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

Ubuntu Multimedia :: Cp All The File Entries In This Playlist From Their Various Original Directories And Into One Target Directory?

Jun 14, 2010

I've got a few large, unsorted folders where I dump mp3s. I manage it all through rhythmbox and I've decided to separate the wheat from the chaff by paring down stuff I don't want and throwing all the desirable stuff into a big (~1,800 file) playlist file saved to my desktop.My question to you is, is there a hack that'll let me cp all the file entries in this playlist from their various original directories and into one target directory? Playlist format is:

Quote:
[playlist]
X-GNOME-Title=Biglist
NumberOfEntries=1823[code].....

View 3 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.

View 14 Replies View Related

Red Hat / Fedora :: Restrict Users To Their Home Directories And Allow Admins To Have Different Home Directories?

Jan 20, 2010

Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.

So far I have created:
chroot_list
user_list

[code]....

View 1 Replies View Related

Ubuntu Multimedia :: Control VLC Via Command Line?

Jan 3, 2010

Everything is plain and simple. I want to know what's the least painful way to control vlc from local command line while having GUI as well?

I would like to e.g. use something like "vlc --pause" in one of my bash scripts to pause music if something hapens. So rc interface is useless, is it not?

not making a thorough search on this as the irrelevance of results is beneath me... Well actually I have made it but it was a while ago and to no avail since the new vlc shipped with karmic got rid of the old http interface which allowed to do this just by using wget on an url....

View 3 Replies View Related

Ubuntu Multimedia :: Simple Command For Sound?

Mar 13, 2010

I wanted to know if there was a simple command for the default sound in ubuntu. An example would be typing volume = 42 into the terminal or something. I'm not looking for alsamixer or anything like that, but maybe thats the only option.

View 1 Replies View Related

Ubuntu Multimedia :: Start Only In Command Line?

Apr 23, 2010

Ubuntu 9.10 (Karmic Koala) 64 bitlaptop Asus f5n vidio: GeForce 7000MI try to remove piton2.6, but system freeze, after these ubuntu show massage (after reboot)"Ubuntu is running in low-grahics mode our screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"I press "ok"and give me next list of options"run ubuntu in low-graphics mode for just one session" -- system freeze "regonfigure graphics" -- no resultI try to reinstall graphic driver "nvidia-glx-185" -- no result

View 3 Replies View Related

Ubuntu Multimedia :: Sirius XM From Command Line

Jul 29, 2010

you longed to listen to your favorite sirius XM satellite radio without the annoying popup every 90ish minutes. And if you were like me, you missed sipie, an application that allowed you to stream sirius via a command line. Since sipie has been flakey, some people have decided to start a new project on GITHUB, called pyxis, and I have to say, after installing (which is a breeze), it is working perfectly. I am excited to have my sirius back up and running strong from the command line.

[Code]...

note, I have no affiliation with the development team, I just thought that this very handy application deserved to be recognized.

View 9 Replies View Related

Ubuntu Multimedia :: Banshee Command Line Viewer?

Apr 26, 2010

Here is a command line tool to view Banshee's status. It isn't much, but I thought it might be useful to someone. Example output:

Code:
Now playing:
01:33 | |
NightOwl
by Maxis from Sim City 4
Ratings: **** ( 100 )
It refreshes every 5 seconds.

View 2 Replies View Related

Ubuntu Multimedia :: Unable To Install The VLC - Command Not Found

May 8, 2010

I type in vlc in the command prompt and get the following back:

Quote:

The program 'vlc' is currently not installed. You can install it by typing:
sudo apt-get install vlc-nox
You will have to enable the component called 'universe'
vlc: command not found

I type in "sudo apt-get install vlc-nox" and get the following:

Quote:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package vlc-nox

Maybe I'm getting the "Couldn't find package vlc-nox" because I've not enabled the 'universe' component. How do I do that via the command line? VLC's website discusses an alternative way to install VLC:

[URL]

% sudo apt-get update
% sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc

Unfortunately, that doesn't work for me either. When I try I get the following error:

Quote:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package vlc

View 7 Replies View Related

Ubuntu Multimedia :: Ffmpeg Command To Make A Video From One Mp3 And One Png?

Jun 5, 2010

is there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?

View 4 Replies View Related

Ubuntu Multimedia :: How To Save A Web Image From Command Line

Jun 9, 2010

How do I save it as a jpg somewhere on my puter using a script? I can wget, but it gets saved as a .evif, which is totally useless. I can right-click on the image in a browser and use the context menu to save it as a jpg, but I want this process automated. How can I DL this image and save it as a jpg? GIMP's CL options don't include the capacity to save/convert this image, though it's possible from teh GUI. ImageMagick won't read this dynamic URL. What do I do?

View 3 Replies View Related

Ubuntu Multimedia :: Phatch In Command Line Mode?

Jun 19, 2010

I installed Phatch today hoping to use it to reduce the file size of some picturesI took for work.I originally took the pics with 12 MP camera and now want to email them to a few peopleas smaller files.I found Phatch, but the docs under man phatch suck...Would anyone mind sharing an example of how to make the above changes to adirectory of pics. My guess is it starts: phatch -vkc --desktop [action] [path]

View 3 Replies View Related

Ubuntu Multimedia :: Capture The Video Using The Command Line?

Jan 23, 2011

I wanted to share this nifty technique I came across for capturing video using the command line. The problem: I have a bunch of old VHS tapes (remember those...?) and need to get them digitized. I have a VCR, and a Dazzle Hollywood DV Bridge which captures video to DV over Firewire (IEEE1394). I first tried using Final Cut Pro, but it wouldn't capture, perhaps because it expects a controllable DV camera, and the Dazzle isn't a DVC device. I then tried my other favorite video editing app, Kdenlive, but it seemed to have the same problem.

I took a quick stab at the other common editors in the repositories (Kino, Openshot, etc.), but no luck with any of them. Then I remembered the dvgrab command, and gave that a shot and it worked, giving me a nice .dv file. However, DV makes pretty big files, which I wanted to compress down to something more manageable. Since I was going to be digitizing hours and hours of tapes, it would be great if I could compress while capturing. A little more googling and I had the answer - you can pipe dvgrab directly into ffmpeg! Here's the command:

Code:

dvgrab -format dv1 - | ffmpeg -f dv -i - -b 2000k -ab 512k -y output.mov

the first part starts the capture, in DV1 format, and outputs it to a pipe file. usually you give dvgrab a filename, like

Code:

dvgrab -format dv1 capture.dv

the second part does the encoding:

-f dv: use DV format
-i -: input from the pipe
-b 2000k: video encoding bitrate of 2000k/sec, high quality
-ab 512k: audio encoding bitrate
-y: overwrite file if it exists

I didn't set the codec explicitly, for Quicktime it defaults to MPEG4. This worked great, capturing a 2-hour tape into a high-quality quicktime around 2GB. But I also wanted to be able to view the capture while it was going. Since I left the field monitors and audio splitters at the office, I had to figure out how to do this in software. Turns out that the "tee" command does exactly what I needed - the shell never ceases to amaze! Here's the full command:

Code:

dvgrab -format dv1 - | tee >(ffmpeg -f dv -i - -b 2000k -ab 512k output.mov) >(playdv --disable-audio --no-mmap)

tee uses the

Code:

>(command)

syntax to pipe simultaneously to multiple processes. The only thing that didn't work was audio playback, which was choppy and introduced errors in the capture file. I think a little tweaking with the capture rates could fix that.

View 2 Replies View Related

Ubuntu Multimedia :: Split Wav Files From The Command Line?

Apr 2, 2011

how to split wav files from the command line?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved