$ ls foo bar $ cat foo 1 2 3 $ cat bar 4 5 6 $ ipfs pin ls -t all $ ipfs add -r . added QmcP2hgfLSGjtMN4eeoy4mcED6vLmcvry3ugKrhKpQLcEQ test/bar added QmdHC7zojN3JsVqV7sw5TESyfujdaV3ikB3FijY6kyTix9 test/foo added QmcEcxiogaZ928FTfKZDbHk5ZYMX6ciFQ2jiLSYMNdgvGX test $ ipfs pin ls -t all QmcEcxiogaZ928FTfKZDbHk5ZYMX6ciFQ2jiLSYMNdgvGX recursive QmcP2hgfLSGjtMN4eeoy4mcED6vLmcvry3ugKrhKpQLcEQ indirect QmdHC7zojN3JsVqV7sw5TESyfujdaV3ikB3FijY6kyTix9 indirect $ echo 'one two three' > foo $ ipfs add -r . added QmcP2hgfLSGjtMN4eeoy4mcED6vLmcvry3ugKrhKpQLcEQ test/bar added QmPdktewEQHDj6DbqYBJcZzdzUoMTBYQ8ftHFt4VFNcjsx test/foo added QmQpMN2BuEMrGAeoimMGKLNW6fnDx4yLTRxLDsaUpRPxVL test $ ipfs pin ls -t all QmPdktewEQHDj6DbqYBJcZzdzUoMTBYQ8ftHFt4VFNcjsx indirect QmQpMN2BuEMrGAeoimMGKLNW6fnDx4yLTRxLDsaUpRPxVL recursive QmcEcxiogaZ928FTfKZDbHk5ZYMX6ciFQ2jiLSYMNdgvGX recursive QmcP2hgfLSGjtMN4eeoy4mcED6vLmcvry3ugKrhKpQLcEQ indirect QmdHC7zojN3JsVqV7sw5TESyfujdaV3ikB3FijY6kyTix9 indirect $ ipfs pin rm -r QmcEcxiogaZ928FTfKZDbHk5ZYMX6ciFQ2jiLSYMNdgvGX unpinned QmcEcxiogaZ928FTfKZDbHk5ZYMX6ciFQ2jiLSYMNdgvGX $ ipfs pin ls -t all QmPdktewEQHDj6DbqYBJcZzdzUoMTBYQ8ftHFt4VFNcjsx indirect QmQpMN2BuEMrGAeoimMGKLNW6fnDx4yLTRxLDsaUpRPxVL recursive QmcP2hgfLSGjtMN4eeoy4mcED6vLmcvry3ugKrhKpQLcEQ indirect