# JLD , How to remove object from "file.jld"?

**URL:** <https://discourse.julialang.org/t/jld-how-to-remove-object-from-file-jld/6056>\
**Category:** General Usage\
**Created:** [September 25, 2017, 7:27am UTC](https://discourse.julialang.org/t/jld-how-to-remove-object-from-file-jld/6056 "2017-09-25T07:27:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [September 25, 2017, 7:27am UTC](https://discourse.julialang.org/t/jld-how-to-remove-object-from-file-jld/6056/1 "2017-09-25T07:27:59Z")

</div>

How to remove object"A" from “file.jld” ?

julia\> file=jldopen(“file.jld”,“r+”)  
Julia data file version 0.1.1: file.jld  
julia\> names(file)  
0-element Array{String,1}  
julia\> write(file,“A”,A)  
julia\> write(file,“B”,B)  
julia\> names(file)  
2-element Array{String,1}:  
“A”  
“B”

How to remove object"A" from “file.jld” ?

Paul

---

<div class="post-metadata">

**Author:** ![Simon\_Bolland](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simon_bolland/32/8920_2.png) [@Simon\_Bolland](https://discourse.julialang.org/u/Simon_Bolland)\
**Post date:** [September 25, 2017, 7:40am UTC](https://discourse.julialang.org/t/jld-how-to-remove-object-from-file-jld/6056/2 "2017-09-25T07:40:37Z")

</div>

> delete!(file,“A”)
