# Preserve filenames from files with no metadata? (using fromfilename)

**URL:** https://discourse.beets.io/t/preserve-filenames-from-files-with-no-metadata-using-fromfilename/443
**Category:** Help
**Created:** [August 10, 2018, 3:10am UTC](https://discourse.beets.io/t/preserve-filenames-from-files-with-no-metadata-using-fromfilename/443 "2018-08-10T03:10:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kasparovnutter](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kasparovnutter](https://discourse.beets.io/u/kasparovnutter)
#### Post date: [August 10, 2018, 3:10am UTC](https://discourse.beets.io/t/preserve-filenames-from-files-with-no-metadata-using-fromfilename/443/1 "2018-08-10T03:10:07Z")

</div>

**how do you import files (with no metadata) with original file/directory name and structure?**

==========================

im trying to import a bunch of files like

```
> folder1
> folder2
> pk000000_00_0A (5).flac
> pk000000_00_0A (8).flac
> pk000000_00_0B (5).flac
> pk000000_00_0B (9).flac

```

but running ‘beet import ~\directory’ gives

_folder:_

```
> [] 
> [_]
> 01.flac
> 02.flac
> 03.flac
> 04.flac

```

_beet list_

```
> - -
> - -
> - -
> - -

```

_config:_

> plugins: inline fromfilename  
> import:  
> copy: no  
> write: yes  
> move: yes  
> autotag: no  
> duplicate\_action: ask  
> detail: yes

---

<div class="post-metadata">

### Author: ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)
#### Post date: [August 10, 2018, 12:06pm UTC](https://discourse.beets.io/t/preserve-filenames-from-files-with-no-metadata-using-fromfilename/443/2 "2018-08-10T12:06:41Z")

</div>

If you don’t want to change the filenames for your music, you can disable the `import.move` and `import.copy` configuration options, as described at the beginning of the “Getting Started” guide.
