You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the files 1,2 and 3 would be restored. Instead, restore-trash crashes:
Traceback (most recent call last):
File "/usr/bin/restore-trash", line 9, in
load_entry_point('trash-cli==0.12.7', 'console_scripts', 'restore-trash')()
File "/usr/lib/python2.7/dist-packages/trashcli/cmds.py", line 20, in restore
input = raw_input
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 547, in run
index = int(index)
ValueError: invalid literal for int() with base 10: '1-3'
(saucy)andreas@incubator:~$
The text was updated successfully, but these errors were encountered:
When restoring files, it would be nice if restore-trash supported a range of files to restore. Like this:
(saucy)andreas@incubator:~$ restore-trash
0 2013-08-02 12:50:39 /home/andreas/temp/2
1 2013-08-02 12:52:50 /home/andreas/temp/4
2 2013-08-02 12:52:50 /home/andreas/temp/3
3 2013-08-02 12:50:39 /home/andreas/temp/1
What file to restore [0..3]: 1-3
Now the files 1,2 and 3 would be restored. Instead, restore-trash crashes:
Traceback (most recent call last):
File "/usr/bin/restore-trash", line 9, in
load_entry_point('trash-cli==0.12.7', 'console_scripts', 'restore-trash')()
File "/usr/lib/python2.7/dist-packages/trashcli/cmds.py", line 20, in restore
input = raw_input
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 547, in run
index = int(index)
ValueError: invalid literal for int() with base 10: '1-3'
(saucy)andreas@incubator:~$
The text was updated successfully, but these errors were encountered: