Results 1 to 2 of 2
-
11th Jan 2012, 05:26 AM #1OPMemberWebsite's:
SherwoodForum.netSSH Command Variables
I'm sorry if I'm not using the correct terminology here! I've been learning only what I need to to do the uploading stuff I need.
I've been using mkisofs on my CentOS 5.7 to pack some DVD Video_TS (or whatever) image files into .isos.
I'm trying to generate a command I can use to do this without having to copy-and-paste things for each command.
So the command I'm using is:
Code:mkisofs -dvd-video -V 'File Name' -o /root/'Folder Name.iso' /root/'Folder Name'
Maverick Reviewed by Maverick on . SSH Command Variables I'm sorry if I'm not using the correct terminology here! I've been learning only what I need to to do the uploading stuff I need. I've been using mkisofs on my CentOS 5.7 to pack some DVD Video_TS (or whatever) image files into .isos. I'm trying to generate a command I can use to do this without having to copy-and-paste things for each command. So the command I'm using is: mkisofs -dvd-video -V 'File Name' -o /root/'Folder Name.iso' /root/'Folder Name' Rating: 5
-
11th Jan 2012, 05:40 AM #2BannedWebsite's:
xsl.tel xsltel.comcreate bash.sh
Code:#!/bin/bash find . -type 'f' | while read VIDEO; do echo "Now processing ${VIDEO} ..." mkisofs -dvd-video -V '${VIDEO}' -o /root/'Folder Name.iso' /root/'Folder Name' done
./bash.sh
this will process all files in your current directory into that command. assuming that all files are videos.
if you can provide more info it may make things easier .
Highest Regards
Mohammed H
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
sql command help
By Mr.Mirchi in forum Technical Help Desk SupportReplies: 3Last Post: 26th Dec 2011, 10:23 PM -
C++ Variables & IO [Lesson 2]
By NucleA in forum Web Development AreaReplies: 1Last Post: 11th Dec 2010, 08:30 PM -
[c#] variables, ifs, simple math and drawing objects
By jayfella in forum Web Development AreaReplies: 23Last Post: 18th Jun 2010, 04:52 PM -
Swap photo/avatar variables
By Golden Falcon in forum IP.BoardReplies: 7Last Post: 12th Feb 2010, 06:18 PM -
Optimizing the mysqld variables
By Lease in forum Technical and Security TutorialsReplies: 0Last Post: 14th Jan 2008, 05:30 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...