MP3 Directory structure possible with Megastick?
Hi all,
I am thinking about buying a 256MN Mega-stick, but I wonder if it is possible to put the MP3's in folders (kinda like albums) on the stick and then be able to select an album to play...
I own a cheap-ass MP3 player at the moment which doesn't support this, so that for me is enough reason to buy another one...
Can anyone help me with this question?
Regards,
Eric
Quote
Originally posted by Likos
I wonder if it is possible to put the MP3's in folders (kinda like albums) on the stick
Yes, and it will indeed play mp3s which are in folders
Quote
Originally posted by Likos
... and then be able to select an album to play...
Nope, it will play them sequentially (i.e. it plays the tracks in one folder, then the tracks in the next) but you can't select a folder to play, you have to go through track-by-track to get to the one you want.
This is my only gripe with the Mega Stick really, if they could just sort this out it would be great.
Similar Messages
-
"Invalid directory structure" AVCHD with Log & Trnasfer FCP 7
i was brought a hard drive with AVCHD files. i have been trying to import those AVCHD files into FCP 7 using the Log & Capture tool, but whenever i select the AVCHD folder i am told ""No Name" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media."
i have been trying to find out what the correct directory structure of AVCHD files should be.
here is what my folders look like:
AVCHD > BDMV > (contained within the BDVM folder) BACKUP, CLIPNF, PLAYLIST, STREAM, INDEX.BDM & MOVIEOBJ.BDM
is this structure correct? how does one interlace that footage once it has been imported into FCP? the video was shot in interlaced but i have to work with it in ProRes 422!When a camera's card is archived to a disk, it must be the entire card, not just the folders within it.
This is best achieved by making a Disk Image.
When you use Log & Transfer, select the card, not the folders inside. Or in this case, you might get away with selecting the hard drive itself.
have to work with it in ProRes 422!
ProRes also works with interlaced footage. -
I have copied many photo's from another laptop to my Mac. The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto. I want to use directories for storing and iPhoto for viewing. Is this possible or do I need to have all my photo's in iPhoto??
MitchiPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
How to, and some comments on why you shouldn't, are in this thread
https://discussions.apple.com/thread/3062728?tstart=0
Regards
TD -
Creating a Standby Database with the Same Directory Structure
Hello gurus,
I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
Thanks in advanced.Uwe and mseberg: thanks for your quick answers
I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
Do you understand my doubt? Excuse me for my english.
Thanks. -
Hi all,
Is there an add-on program, which assumes the directory structure of a Windows PC with subfolders?
So that the playlists are created with all the directories and subdirectories.
I would like the Music folder
and all its subdirectories
drag into iTunes.
Then should the songs in iTunes and in the Iphone geanu be designed with the same directory wiht subdirectories structure.
Example:
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\AlbumArtSmall.jpg
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\Betriebsdirektor - Das Leben Ist Grausam - die Prinzen - 05 - .mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\Blaues Blut - Das Leben Ist Grausam - die Prinzen - 07 - .mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\desktop.ini
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Herbert_Grönemeyer_-_12_[2007]_-brandneu-_[found-on-www-bitreactor-to].to rrent
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 01 - Ein Stück vom Himmel.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 02 - Kopf hoch,tanzen.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 03 - Du bist die.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Hannes Wader\ Dass nichts bleibt wie es war\Rohr im Wind - Dass nichts bleibt wie es war - Hannes Wader - 07.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Hannes Wader\ Dass nichts bleibt wie es war\Schon so lang - Dass nichts bleibt wie es war - Hannes Wader - 02.mp3
G:\1 wav+mp3\1 Alles\3 Song\Allerlei
G:\1 wav+mp3\1 Alles\3 Song\Allerlei\(Everything I Do) I Do It For You - Bryan Adams - Best of Me (Ecopac) - 10.mp3
G:\1 wav+mp3\1 Alles\3 Song\Allerlei\(Sittin' on) the dock of the bay - Otis Redding - (Sittin' on) the Dock of the Bay - 01.mp3
G:\1 wav+mp3\1 Alles\3 Song\Allerlei\~ Change Is Gonna Come - The Neville Brothers - Yellow Moon - 01.mp3
G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Baby, Do You Wanna Bump - Daddy Cool - Boney M. - 06.mp3
G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Barbarella Fortuneteller - Daddy Cool - Boney M. - 15.mp3
G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Belfast - Daddy Cool - Boney M. - 04.mp3
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\AlbumArtSmall.jpg
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Always On My Mind - Definitive Country Album - Elvis Presley - 03.mp3
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Burning Love - Definitive Country Album - Elvis Presley - 09.mp3
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Don't Cry Daddy - Definitive Country Album - Elvis Presley - 15.mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Every Little Thing She Does-Flying Pickets - Flying Pickets.mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Folder.jpg
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\goodnight sweethart - flying pickets - flying pickets .mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Groovin'-Flying Pickets - Flying Pickets.mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\I Got You Babe - Flying Pickets - Flying Pickets.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classical - Franz Liszt - Liebestraum piano - Franz Liszt - Liebestraum piano.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classical Guitar - Greensleeves - Greensleeves.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classique - Schumann - Carnaval, Chopin - Schumann - Carnaval, Chopin.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Crown Chakra - Tony O'Connor - Tony O'Connor.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Dallas - TV 70's & 80's.mp3
usw.
Is there a program led?
Thank you very much
frankdeggie wrote:
No, as there is no such file management system in iOS.
I do not understand this..
In iTunes I can create folders and subfolders.
Please look.
I would like to drag the folder "1 All" in iTunes.
There should also then the folder structure are taken
iTunes Windows 7 Explorer
Folder in Folder Folder in Folder
Thank you very much
Frank -
Problem with package and directory structure
Please... I need help with a directory/package structure that I don't understand
why it is not working...
I want to create a custom login SWF which several other SWF movies will use in case they need some kind of login logic (in this case it is a login logic... but the problem doesn't have anything to do with that logic...)
I have created a FLA movie (LOGIN.FLA) and two helper classes (MAINLOGIN.AS and MAINLOGINEVENT.AS)... they are all under the same directory, for example:
c:\
abc\
def\
ghi\
login
In LOGIN.FLA, I have included the source path, c:\abc (for example).
MAINLOGIN.AS and MAINLOGINEVENT.AS, have both a package like:
package def.ghi.login
MainLogin class uses MainLoginEvent (it dispatches events of that type)... but I don't have to import anything as all 3files are in the same directory...
LOGIN.FLA has its class defined as def.ghi.login.MainLogin
And that's all... now comes the problem:
1. If I leave everything as described and try to publis LOGIN.FLA, it throws error 5001 ("The name of the package def.ghi.login.MainLoginEvent doesn't reflect....) for class MainLoginEvent... don't understand why... it is placed exactly as MainLogin and has the same package definition!
2. I have tried several other options, but when I get the SWF to get published, then, the problem comes when trying to use this SWF from another movie:
The way to publish LOGIN.FLA with no errors is: MAINLOGIN.AS and MAINLOGINEVENT.AS with empty package definition ("package" alone...) and LOGIN.FLA with class MainLogin (not def.ghi.login.MainLogin)... LOGIN.FLA doesn't have to include source path to c;\abc in this case. This way, I can publish LOGIN and get LOGIN.SWF.
The problem now is how to use this information from another Movieclip... I want to be able to use and receive events of type MainLoginEvent but can't (it gives error 5001 again, on MainLoginEvent, saying that the name of the package '' doesnt' reflect....)... If I include the path to c:\abc\def\ghi\login on the FLA, then it gives errors in MainLogin when trying to use a class of its library...
Basically, the problem here is that, the movie which wants to use the LOGIN.SWF, is in c:\abc\def, and it is including the source path c:\abc, so if I import def.ghi.login.*
it is when it throws error 5001 (I understand why, but I dont know how to fix it...), but if I dont import def.ghi.login.* then I can't use MainLogin nor MainLoginEvent...
What is the good way of doing this kind of structure... mainly it is creating a SWF, which can be used from other SWF's and which can dispatch events, which the container SWF will capture...
If anyone can please give me a hint... THANK YOU!Hi kglad , I don't understand the first point... "don't use absolute paths"... I'm not using them (or I don't understand what you mean).
For the second one... the structure is like:
c:\
abc\
def\
LOGINCONTAINER.FLA
ghi\
login\
LOGIN.FLA
MAINLOGIN.AS
MAINLOGINEVENT.AS
In LOGIN.FLA, I include the source path c:\abc, so MAINLOGIN.AS and MAINLOGINEVENT.AS have a package of "def.ghi.login", and the class for LOGIN.FLA is "def.ghi.login.MainLogin"... when trying to publish LOGIN.FLA, Flash throws error 5001 for MAINLOGINEVENT...¿?
What I want to get is a SWF (LOGIN.SWF), which can be loaded from any other SWF (in this example, LOGINCONTAINER.SWF). LOGINCONTAINER.FLA, has a class path "c:\abc" (the same as the other LOGIN.FLA, because of the directory structure), and it has to be able to receive events of type MAINLOGINEVENT... that is why it has to do an import of "import def.ghi.login.*" (for example)
Any idea of why it is not working (or how to organize it correctly)?
Thank you -
Populating MX:Tree with Directory Structure using PHP
Hello,
I have written the following php function to return the directory structure :
public function get_dir_iterative()
$dir = 'data';
$exclude = array( 'cgi-bin', '.', '..' );
$folders = '<?xml version="1.0"?>';
$folders .= "<node label='Root' path=\"data\">";
//$folders .= $this->getFolderRecuring("data");
$exclude = array_flip($exclude);
$dh = opendir($dir);
//$stack = array($dh);
//$level = 0;
//closedir(array_shift($stack));
while(count($stack))
if(false !== ( $file = readdir( $stack[0] ) ) )
if(!isset($exclude[$file]))
if(is_dir($dir . '/' . $file))
$dh = opendir($dir . '/' . $file);
if($dh)
$folders .= "<node label=\"$file\" path=\"$dir/\" isBranch=\"true\" />";
array_unshift($stack, $dh);
++$level;
else
$folders .= "<node label=\"$file\" path=\"$dir/\">";
else
closedir(array_shift($stack));
--$level;
$folders .= "</node>";
return $folders;
When I test this function manually it returns the proper structure.
But when I call it with help of ZendAMF there is nothing returned and the sandclock is spinning infinite ?!
here is the flex part:
private var fms:RemoteObject = new RemoteObject();
protected function initFileManagerService():void
fms.destination ='zend';
fms.source='FileManagerService';
fms.showBusyCursor=true;
fms.addEventListener( FaultEvent.FAULT, faultListener);
fms.get_dir_iterative.addEventListener( ResultEvent.RESULT, load_result );
trace('FileManagerService initialized');
public function load():void
fms.get_dir_iterative();
trace('Service / load');
private function load_result( e:ResultEvent ):void
trace('result:'+e.result)
My zend setup is working, any idea what could be wrong ?>if you comment out the php and just return "hello" do you get it back in flex?
Jip, thats working
>is this line right?>fms.get_dir_iterative.addEventListener( ResultEvent.RESULT, load_result );
Yes it is correct, thats the way you listen for a result of a specific function when using the zend framework.
I have other projects running very good like this.
-
PDB Directory Structure with OMF
If one create a PDB using Oracle Managed Files (OMF) the directory structure for the files are using the GUID instead of the PDB Name. Is there any chance to change this? It's very difficult to find out which file belongs to which PDB if you have serveral PDBs up and running.
rp0428 wrote:
If one create a PDB using Oracle Managed Files (OMF) the directory structure for the files are using the GUID instead of the PDB Name. Is there any chance to change this? It's very difficult to find out which file belongs to which PDB if you have serveral PDBs up and running.
What value of DB_CREATE_FILE_DEST are you using? Just set it to where you want the files created for the PDB.
http://docs.oracle.com/cd/B28359_01/server.111/b28310/omf003.htm#i1006430
When creating a tablespace, either a permanent tablespace or an undo tablespace, the DATAFILE clause is optional. When you include the DATAFILE clause the filename is optional. If the DATAFILE clause or filename is not provided, then the following rules apply:
If the DB_CREATE_FILE_DEST initialization parameter is specified, then an Oracle-managed datafile is created in the location specified by the parameter.
Here is a simple example:
SQL> alter system set db_create_file_dest=’/u01/app/oracle/oradata/myDir/myNewPDB′;
System altered.
SQL> create pluggable database myNewPDB from myOldPDB;
Pluggable database created.
You can't control the actual filenames when using OMF, only the destination folder.
Edited by: rp0428 to fix typo
Your comment about the optional parameter DATAFILE is only valid if you don't want to change any of the default values for size, extendsize and maxsize. As I don't like "UNLIMITED" for the maxsize I have to specify DATAFILE according to the documentation:
Oracle 12c Database Administrator's Guide 12c: "However, if in your DATAFILE clause you override these defaults by specifying a SIZE value (and no AUTOEXTEND clause), then the data file is not autoextensible."
Your example makes the directory structure even more complex: Oracle always adds the name of the database and the GUID to the directory. So for your example you end up with the following directory structure:
/u01/app/oracle/oradata/myDir/myNewPDB/<CDB_NAME>/<GUID>
Her's an example:
SQL> ALTER SYSTEM SET db_create_file_dest='/u02/oradata/JO3';
SQL> CREATE PLUGGABLE DATABASE JO3 ...
SQL> SELECT name FROM v$datafile WHERE CON_ID=7;
NAME
/u02/oradata/JO3/CJOHANN/F23385330E6F7CE2E043411E10ACD344/datafile/o1_mf_system_9hpk1l9f_.dbf
/u02/oradata/JO3/CJOHANN/F23385330E6F7CE2E043411E10ACD344/datafile/o1_mf_sysaux_9hpk1l9t_.dbf -
How duplicate ora11 on windows to another host with different directory structure
Hi,
I need help.
I want to duplicate db (11.2) running on windows from server A to Server B
Directory structures on server A and Server B are different;
my steps
on server A
1.backup database plus archivelog delete input;
2.insert into table t values(1);
3.commit;
4.backup archive log all;
On Server B
5.copy backup and archive logs from server A to server B (c:\backup\temp)
6.create folders C:\oracle\oradata\bamboo
7.oradim –new –sid bamboo -- (verified service is running)
8. created pfile.ora with param (db_name=bamboo)
9.SET oracle_SID=bamboo
10.sqlplus /as sysdba
11.startup nomount pfile='(c:\backup\temp\pfile.ora'
12.C:\oracle\product\11.2.0\db_1\database>rman auxiliary /
result
..connected to auxiliary database: SBDBT02W (DBID=186082786, not open) --could it be the fact that I tried to execute code bellow?
My understanding at this point I should be connected to 'bamboo' -- my new database, what steps did I miss?
I expect
..connected to auxiliary database: bamboo ( not mounted)
bellow is code that I was going to run on Server B
RUN
SET NEWNAME FOR DATAFILE 1 TO 'C:\oracle\oradata\bamboo\SYSTEM01.DBF';
SET NEWNAME FOR DATAFILE 2 TO 'C:\oracle\oradata\bamboo\SYSAUX01.DBF';
SET NEWNAME FOR DATAFILE 3 TO 'C:\oracle\oradata\bamboo\UNDOTBS01.DBF';
SET NEWNAME FOR DATAFILE 4 TO 'C:\oracle\oradata\bamboo\USERS01.DBF';
SET NEWNAME FOR DATAFILE 5 TO 'C:\oracle\oradata\bamboo\EXAMPLE01.DBF';
DUPLICATE DATABASE TO bamboo
UNTIL TIME "TO_DATE('11/24/2013 13:18:02', 'MM/DD/YYYY HH24:MI:SS')"
BACKUP LOCATION 'C:\backup\temp'
NOFILENAMECHECK;
when I executed it on Server B ,I got following error
Starting Duplicate Db at 25-NOV-13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/25/2013 11:27:36
RMAN-05500: the auxiliary database must be not mounted when issuing a DUPLICATE
command
I looking for steps by step instruction for duplicating db to another windows host with different directory structure.
Thank you
AlexThe topic, "Duplicating a Database on a Remote Host with a Different Directory Structure" can be found at http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006672
This information should provide you the step by step process to follow including when on Windows.
HTH -- Mark D Powell -- -
Help me out with Directory structure for JSF+SPRING+HIBERNATE Project
Hi frnds ,
My name is Walter working for a startup software company . We are working on Hospital Management System (HMS) project .. MVC Architecture ...using Hibernate Spring and JSF ..we need to design Directory Structure for our project..
plzz help me friends in suggesting MVC Directory structure ...? also plzz help me by directing me with the navigation flow?
Thnxx in advance
Regards
WalterThank you so much .. friends ..for your kind replies..thanks to Illu, anguquga and special thanks to BalusC for giving me the advice for hiring EE Artitech ..
Anyways I have discussed with my teammates designing the directory structure
anguquga your directory structure is close to what I have designed ..referiing to a sample application on web..
Hospital Management system MVC architecture Directory structure
This is the way the structure goes on ..
model --> for Hibernate as well as Spring
View --> for JSF
src(-)
|
------(-) java
|
-------(-) model
|
------(+) businessobject
|
------(-) dao
|
------(+) hibernate
|
------(+) exception
|
------(-) service
|
------ (+) impl
|
------(+) util
(-) view
|
------(+) bean
|
------(+) builder
|
------(+) bundle
|
------(+) servicelocator
|
------(+) util
|
------(+) validator
(-) Web or WebRoot
|
----- (-) JSP Files�etc.,
|
----- (-) META-INF
|
------ (+) Images
|
------ (+) Scripts ==== CSS (cascading style sheets, JavaScript files etc.,)
|
----- (-) WEB-INF =========xml files web.xml, faces-config.xml etc.,
|
-----(-) Classes
|
-----(-) HMS
|
----- (+) model
|
----- (+) view
|
----- (+) lib
I am sure you may notice few errors .. if u find any plzz reply me back.... thnxx in advance for replies...and thnxx for giving your valuable replies...
Walter (Kaleem) -
"00004.MTS" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media.
when i try log transfer from a sony nex-vg10 but my buddy can do it with no problem on my cam an macIf you copy the recordings from AVCHD cameras, you must copy the entire storage device with its directory structure intact.
I have even tried copying BACK files onto the camera and they do not show up in the transfer window under the last clip.
There is no information for those clips in the AVCHD storage device's directory index files. That means there is no way for the computer to find them.
Your last resort is most likely [ClipWrap|http://www.divergentmedia.com/clipwrap] now, unless you can get the storage device exactly back into the state it is supposed to be according to the index file. -
Standby database with different directory structure
Hi,
sorry to say that we are in desupported version due to some constraint.
oracle version : 8.1.7.0.0.
os:sun 5.9
I need to create physical standby database with different directory structure:
i have created standby database with same directory structure of primary, now i have requirement to create with different directory structure.
in oracle 8i we can not give multiple parameter for db_file_name_convert(ORA-01678: parameter db_file_name_convert must be two strings, a pattern and a replacement) and i do have partitions in primary as follows:
bash-2.05$ df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 14G 5.6G 72% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 11G 40K 11G 1% /var/run
dmpfs 11G 0K 11G 0% /dev/vx/dmp
dmpfs 11G 0K 11G 0% /dev/vx/rdmp
swap 11G 656K 11G 1% /tmp
/dev/dsk/c1t0d0s3 25G 18G 6.8G 72% /oracle
/dev/vx/dsk/suportaldg/oracle1
12G 11G 1.1G 91% /oracle1
/dev/vx/dsk/suportaldg/oracle2
12G 8.1G 3.7G 69% /oracle2
/dev/vx/dsk/suportaldg/orapurge
200G 182G 17G 92% /orapurge
/dev/vx/dsk/suportaldg/oracle3
12G 10G 1.9G 85% /oracle3
/dev/vx/dsk/suportaldg/oracle4
12G 12G 58M 100% /oracle4
/dev/vx/dsk/suportaldg/oracle5
7.0G 5.9G 1.0G 86% /oracle5
/dev/vx/dsk/suportaldg/oracle6
7.0G 6.4G 564M 93% /oracle6
/dev/vx/dsk/suportaldg/oracle7
23G 23G 358M 99% /oracle7
/dev/vx/dsk/suportaldg/oracle8
13G 13G 165M 99% /oracle8
/dev/vx/dsk/suportaldg/oracle9
23G 22G 1.4G 94% /oracle9
/dev/vx/dsk/suportaldg/oracle10
12G 10.0G 1.9G 85% /oracle10
/dev/vx/dsk/suportaldg/oracle11
39G 36G 2.1G 95% /oracle11
/dev/vx/dsk/suportaldg/oracle12
39G 38G 1.1G 98% /oracle12
/dev/vx/dsk/suportaldg/oracle13
68G 65G 2.6G 97% /oracle13
/dev/vx/dsk/suportaldg/oracle14
200G 199G 1.3G 100% /oracle14
/dev/vx/dsk/suportaldg/oracle15
200G 196G 3.6G 99% /oracle15
/dev/vx/dsk/suportaldg/oracle16
70G 64G 5.5G 93% /oracle16
/dev/vx/dsk/suportaldg/oracle20
7.0G 6.4G 609M 92% /oracle20
/dev/vx/dsk/suportaldg/oracle50
28G 26G 2.0G 93% /oracle50
/dev/vx/dsk/suportaldg/oratranslog
185G 165G 19G 90% /oratranslogso how i can create standby database with different directory structure, help is appreciated.
Thanks
Edited by: prakashdba on Mar 5, 2009 11:04 PMLooks like very difficult and inform you mgmt about the drawbacks of running olderv ersions
may be you can try something like this but i dont know whether it is supported or not
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle3','/dev/vx/dsk/suportaldg/STDBY/oracle3']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle4','/dev/vx/dsk/suportaldg/STDBY/oracle4']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle5','/dev/vx/dsk/suportaldg/STDBY/oracle5'] -
Making a Directory Structure with JTree.
Hello,
Can anyone boss here help me to code to make a
File System Directory structure through JTree?
The outlook should be like the Windows Explorer...
From : [email protected]* HarishTree.java
* Created on September 7, 2004, 2:56 PM
* @author 120002314
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.tree.*;
import java.io.File;
import java.awt.event.ActionListener;
import javax.swing.JToolBar;
import java.lang.System;
import java.awt.BorderLayout;
import java.awt.Component;
import javax.swing.filechooser.FileSystemView;
public class HarishTree {
public static void createAndShowGUI() {
//creating a tree with drives in the toolbar
TreeBar bar = new TreeBar();
JScrollPane scrollpane = new JScrollPane(bar.tree);
JToolBar toolbar = bar.CreatingTreeBar();
JPanel panel = new JPanel(new BorderLayout());
panel.add(toolbar);
// Display it all in a window and make the window appear
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame frame = new JFrame("FileExplorer");
frame.getContentPane().add(scrollpane, "Center");
frame.getContentPane().add(panel,BorderLayout.NORTH);
frame.setSize(400,600);
frame.setVisible(true);
frame.setResizable(false);
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
java.lang.System.gc();
* The methods in this class allow the JTree component to traverse
* the file system tree and display the files and directories.
class FileTreeModel implements TreeModel {
// We specify the root directory when we create the model.
protected JFile root;
public FileTreeModel(){}
public FileTreeModel(JFile root) { this.root = root; }
// The model knows how to return the root object of the tree
public Object getRoot() { return root; }
// Tell JTree whether an object in the tree is a leaf
public boolean isLeaf(Object node) { return ((JFile)node).isFile(); }
// Tell JTree how many children a node has
public int getChildCount(Object parent) {
String[] children = ((JFile)parent).list();
if (children == null) return 0;
return children.length;
// Fetch any numbered child of a node for the JTree.
// Our model returns File objects for all nodes in the tree. The
// JTree displays these by calling the File.toString() method.
public Object getChild(Object parent, int index) {
String[] children = ((JFile)parent).list();
if ((children == null) || (index >= children.length)) return null;
return new JFile((JFile)parent,children[index]);
// Figure out a child's position in its parent node.
public int getIndexOfChild(Object parent, Object child) {
String[] children = ((File)parent).list();
if (children == null) return -1;
String childname = ((File)child).getName();
for(int i = 0; i < children.length; i++) {
if (childname.equals(children)) return i;
return -1;
// This method is invoked by the JTree only for editable trees.
// This TreeModel does not allow editing, so we do not implement
// this method. The JTree editable property is false by default.
public void valueForPathChanged(TreePath path, Object newvalue) {}
// Since this is not an editable tree model, we never fire any events,
// so we don't actually have to keep track of interested listeners
public void addTreeModelListener(TreeModelListener l) {}
public void removeTreeModelListener(TreeModelListener l) {}
class TreeBar implements ActionListener{
public JTree tree = new JTree();
public File[] roots = File.listRoots();
JToolBar toolbar = new JToolBar();
public TreeBar(){
FileTreeModel model = new FileTreeModel(new JFile(System.getProperty("user.home")));
tree.setModel(model);
tree.setCellRenderer(new MyRenderer());
public JToolBar CreatingTreeBar(){
for(int i=0;i<roots.length;i++){
JButton button = new JButton(roots[i].getPath(),new MyRenderer().inicon);
button.addActionListener(this);
button.setActionCommand(roots[i].getPath());
toolbar.add(button);
toolbar.setFloatable(false);
toolbar.setRollover(true);
return(toolbar);
public void actionPerformed(java.awt.event.ActionEvent e) {
FileTreeModel model = new FileTreeModel(new JFile(e.getActionCommand()));
tree.setModel(model);
class MyRenderer extends DefaultTreeCellRenderer {
ImageIcon inicon = createImageIcon("1.gif");
ImageIcon exicon = createImageIcon("2.gif");
ImageIcon leaficon = createImageIcon("3.gif");
public ImageIcon createImageIcon(String path) {
java.net.URL imgURL = TreeIconDemo2.class.getResource(path);
if (imgURL != null) {
return new ImageIcon(imgURL);
} else {
System.err.println("Couldn't find file: " + path);
return null;
public Component getTreeCellRendererComponent(
JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus) {
super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
if (leaf){
setIcon(leaficon);
}else
if(expanded)
setIcon(exicon);
else
setIcon(inicon);
return this;
class JFile extends File{
public JFile(String path){
super(path);
public JFile(File parent,String child){
super(parent,child);
public String toString(){
FileSystem fs = new FileSystem();
if(fs.isFileSystemRoot(this))
return(this.getPath());
else
return(fs.getSystemDisplayName(this));
class FileSystem extends FileSystemView{
public File createNewFolder(File containingDir) throws java.io.IOException {
return(this.createFileObject(containingDir,"harish")); -
Using iPhoto with an existing directory structure on HD full of jpgs
I'm using iPhoto 6. I recently moved 7,000+ photos (jpgs) off my PC onto my new Mac harddrive. They are organized into dozens of folders and subfolders. How can I use iPhoto to work with the pics within this directory structure? I tried dragging and importing several different ways, but it never preserves my extensive directory structure (just puts them all together into one big pile). I set it not to make a copy when importing. I just want iPhoto to "point" to my existing directory structure, so I can see my folders and subfolders on the left side (and from there I'll create albums and pages stuff). Thanks, Robin
Hello, Robin,
Welcome to the discussions.
First, you have to consider that iPhoto organizes differently from what you are used to doing. It is designed to allow you to do your organizing from within iPhoto, using film rolls and albums. That way, you do not have to be concerned with how and where iPhoto stores the actual photos.
If you want to keep the same type of organization that you have now, you can import the photos one folder at a time, so that iPhoto puts each folder into a separate film roll. You can change the date on import, since iPhoto will give the roll the date of import, not the date of the photo.
To get the subfolders into folders, use the album creation feature in the Source pane and create the albums and folders to suit your organizational needs and drag the photos into the appropriate locations. One of the great features of iPhoto's album function is that you can have a photo in more than one album.
Please take a look at iPhoto's tutorial here:
http://www.apple.com/ilife/tutorials/iphoto/index.html
and some great explanations of how iPhoto is structured and works in these:
http://discussions.apple.com/thread.jspa?threadID=920223&tstart=0
http://docs.info.apple.com/article.html?path=iPhoto/6.0/en/hlp15.html
http://discussions.apple.com/thread.jspa?threadID=959413&tstart=0 -
Using wlappc with split directory structure
I am trying to generate an EAR file of my application using wlappc in WLS8.1sp3.
I am using the split directory structure, I have a src directory containing my
source and xml descriptors, and a output directory containing the compiled classes.
I am using the split structure to deploy to the app server in development, that
is working fine. I use wlcompile to compile the code, that works ok too.
I assume that the purpose of wlappc would be to take a split directory structure
and create an EAR file from it, but there is only one source directory that you
can pass to the ant task. If I pass the src directory, it complains that it cannot
find the classes. If I use the output directory, it complains that it cannot
find the META-INF directory.
Am I missing a step? Do I have to use wlpackage to put everything in one directory,
then wlappc? Do I have to copy the class files or xml files manually first?Jason Kriese wrote:
I am trying to generate an EAR file of my application using wlappc in WLS8.1sp3.
I am using the split directory structure, I have a src directory containing my
source and xml descriptors, and a output directory containing the compiled classes.
I am using the split structure to deploy to the app server in development, that
is working fine. I use wlcompile to compile the code, that works ok too.Great.
>
I assume that the purpose of wlappc would be to take a split directory structure
and create an EAR file from it, No, wlappc does J2EE code-generation and validation. For instance, it
will do hundreds of checks against your EJBs to make sure they comply
with the spec. It will compile your JSP files into servlets etc. You
just need to pass wlappc the output directory. It will automatically
find the src directory.
When you're ready to deploy to a production or staging server, you can
use wlpackage to put everything into one directory or an archived EAR file.
-- Rob
but there is only one source directory that you
can pass to the ant task. If I pass the src directory, it complains that it cannot
find the classes. If I use the output directory, it complains that it cannot
find the META-INF directory.
Am I missing a step? Do I have to use wlpackage to put everything in one directory,
then wlappc? Do I have to copy the class files or xml files manually first?
Maybe you are looking for
-
iPhoto 9.6, after subscribing to a photo stream it reports there are no photos in that stream - the stream shows (right title but it says there are no photos in the stream - other streams are just fine - on my iPad (iOS 8.0.2) they show fine.. Fixes?
-
Install with database in place or not?
Probably not the most difficult question, but I haven't found anything that says one way or another: should there be an Oracle database instance already on the machine I'm installing EBS 12.1 on, or will the EBS install create one? Thanks, Paul
-
Problem in date not filtering the To value in Ranges
I have to BEDNR flieds BEDNR! and BEDNR2, i have kept them in range R_BEDNR, but when applying the selection criteria, its not working, please advice.
-
I need to reinstall the icloud add-in to my outlook 2013
I need to reinstall iCloud add-in to my 2013 Outlook.
-
How to copy iPhoto library to my new Macbook?
I did a search and found some related topics that helped, but I wanted to make sure I got some more detail on this, as it seems to be a bit more complicated than I thought: I recently purchased a MacBook Pro, and need to copy my iPhoto library from o