Comments (12)
from trash-cli.
Credo che ti stia dicendo che '/media/array/.Trash/0' non è una directory, dato che non esiste ripiega su .Trash-0 e funziona.
from trash-cli.
Uhm... Sono passati più 3 anni e mezzo dal mio post... devo riprovare.
Grazie cmq di avermi risposto.
Buon Natale.
from trash-cli.
Al momento in realtà non riesco a riprovare...
Su Ubuntu 16.10 installando la versione 0.12.9.14-2:
$ sudo mkdir --parent /.Trash
$ sudo chmod a+rw /.Trash
$ sudo chmod +t /.Trash
$ touch foo
$ trash foo
$ trash-list
Errore di segmentazione (core dump creato)
$ trash-restore
trash-restore: comando non trovato
Qualcosa mi sfugge... Problema di packaging Ubuntu?
from trash-cli.
No, non par essere un problema di packaging Ubuntu.
$ sudo easy_install trash-cli
Searching for trash-cli
Reading https://pypi.python.org/simple/trash-cli/
Downloading https://pypi.python.org/packages/c7/95/ceda4a06c0a8e6b57ded4a7f0a3fc9a22f443f755f06c4e562fbab5dddbe/trash-cli-0.12.9.14.tar.gz#md5=79135954bbe5d0c806d298c38e3e0527
Best match: trash-cli 0.12.9.14
Processing trash-cli-0.12.9.14.tar.gz
Writing /tmp/easy_install-NHTZzo/trash-cli-0.12.9.14/setup.cfg
Running trash-cli-0.12.9.14/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NHTZzo/trash-cli-0.12.9.14/egg-dist-tmp-QoSTGi
/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py:203: UserWarning: tag_svn_revision is deprecated and will not be honored in a future release
"tag_svn_revision is deprecated and will not be honored "
zip_safe flag not set; analyzing archive contents...
Moving trash_cli-0.12.9.14.post0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding trash-cli 0.12.9.14.post0 to easy-install.pth file
Installing restore-trash script to /usr/local/bin
Installing trash-put script to /usr/local/bin
Installing trash-list script to /usr/local/bin
Installing trash-rm script to /usr/local/bin
Installing trash script to /usr/local/bin
Installing trash-empty script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/trash_cli-0.12.9.14.post0-py2.7.egg
Processing dependencies for trash-cli
Finished processing dependencies for trash-cli
$ restore-trash
Errore di segmentazione (core dump creato)
$ /usr/local/bin/restore-trash foo
Errore di segmentazione (core dump creato)
$ /usr/local/bin/trash-list
Errore di segmentazione (core dump creato)
from trash-cli.
Mi puoi dire che versione di python hai?
from trash-cli.
Python 2.7.12+ (default, Sep 17 2016, 12:08:02)
[GCC 6.2.0 20160914] on linux2
Linux 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
from trash-cli.
Quella che riscontri dovrebbe essere la issue #52, ho committato oggi la soluzione ( 0c3f3bf )
from trash-cli.
Ho pubblicato la versione "0.16.12.26" su PyPI, se fai sudo easy_install trash-cli
dovrebbe scaricartela e risolvere il problema. Ti prego di confermare se puoi.
from trash-cli.
from trash-cli.
È normale, trash-cli cerca sempre di spostare il file nella trash dir che sta sulla stessa partizione del file cestinato. Probabilmente la tua /tmp sta su una partizione diversa da quella di home.
from trash-cli.
from trash-cli.
Related Issues (20)
- Cannot restore a file from a mounted cifs volume HOT 10
- verbose output HOT 1
- trash-empty: option to only empty files trashed prior to application start HOT 1
- Confirm Dialog on `trash-empty` HOT 5
- trash-put: cannot trash regular file @raffaem
- Slow trash-empty taking hours to delete HOT 1
- If a trash fails before everything is deleted, all the files that *were* deleted *cannot be restored* HOT 9
- Provide an option to send deleted items to macOS Desktop Trash. HOT 6
- Hitting return on trash-restore without entering a number results in unclear behavior HOT 1
- Crash while removing file/dir wth utf-8 chars HOT 2
- [Question] How to correctly answer "Proceed? (y/n)" when using trash-empty in script? HOT 4
- Crash with `--volumes`: AttributeError: 'PrintVolumesList' object has no attribute 'run_action' HOT 1
- ZSH completion very slow HOT 3
- Add option to preserve folders containing recently modified files
- ZSH completion does not allow to specify multiple files to trash HOT 1
- Don't force user to install old mock library HOT 10
- I have a number of bind mounts, and `trash-list` shows trashed items without any duplication. HOT 4
- having `--dry-run` for `trash-put` HOT 4
- PermissionError in trash-empty incorrectly user's .Trash folder HOT 1
- Add a way to trash from stdin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trash-cli.