list.adf.files {adfExplorer} R Documentation

## List files in an amigaDisk directory

### Description

Get a list of files in a specific directory on a virtual amigaDisk.

### Usage

## S4 method for signature 'amigaDisk,missing'
list.adf.files(x, path)

## S4 method for signature 'amigaDisk,character'
list.adf.files(x, path)


### Arguments

 x An amigaDisk object for which the files should be listed. path Specify the path on the amigaDisk object, conform Amiga specs, for which files should be listed. See current.adf.dir for details on these specs.

### Details

As an analogue of list.files, this method list files in a specific directory. But in this case the files are located on a virtual floppy disk represented by the amigaDisk object. This works only for DOS-formatted (is.amigaDOS) virtual disks.

### Value

Returns a vector of characters listing the files in the specified directory on the virtual disk.

Pepijn de Vries

### Examples

data(adf.example)

## show all files in the root of the example
## disk file:
list.adf.files(adf.example)

## you can also list the files in a specified
## directory:
list.adf.files(adf.example, "DF0:mods")

## For the same path, only now specified
## relatively to the current directory:
list.adf.files(adf.example, "mods")



[Package adfExplorer version 0.1.6 Index]