slack-files-delete icon indicating copy to clipboard operation
slack-files-delete copied to clipboard

Hello! Just a simple question

Open DanielRequejo opened this issue 8 years ago • 6 comments

I noticed that you have a variable called DAYS with a 30 value by default. This means that the script deletes all the files with 30 days from its upload? Or 30 days back from today? Does this means (I've already checked) that if we change it to 0 all the files will be deleted?

Thank you, very good work. : ) I'm sorry I'm poor to so here a virtual hug: https://media.giphy.com/media/xT9DPldJHzZKtOnEn6/giphy.gif

DanielRequejo avatar Sep 27 '16 14:09 DanielRequejo

Hi...

Thank you for your comment and you e-hug. The days variable means days back from today, so its 30 days back from today.

Bye

egermano avatar Oct 10 '16 16:10 egermano

Hi, I am using the script to delete the bulk files in the slack. When I execute the script, it shows that the files are being deleted. But when I go back to the slack an check, it is not deleting any file. Please help!

screen shot 2017-11-30 at 13 52 06

Thanks!

shivavandana avatar Nov 30 '17 18:11 shivavandana

Hi @shivavandana seems the scripts have a problem to handle file that you don own. This problem was explained in another thread. #4

egermano avatar Nov 30 '17 19:11 egermano

Hi, But the script is not able to delete the files that I own too.

On Thu, Nov 30, 2017 at 2:10 PM, Bruno Germano [email protected] wrote:

Hi @shivavandana https://github.com/shivavandana seems the scripts have a problem to handle file that you don own. This problem was explained in another thread. #4 https://github.com/egermano/slack-files-delete/issues/4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/egermano/slack-files-delete/issues/7#issuecomment-348289566, or mute the thread https://github.com/notifications/unsubscribe-auth/ASaBOYVAKMRCbeDik5stC1xqewzi9Q5Uks5s7v2ggaJpZM4KHvfh .

shivavandana avatar Nov 30 '17 19:11 shivavandana

Couple questions,

1: If I put 0 days will it delete all files till the end of time? 2: Does this delete ALL file, or just my files? 3: When I run it, it deletes all the files, then I run it immediately after and its does the same thing? Weren't those file deleted?

bradhave94 avatar Dec 01 '17 17:12 bradhave94

When I set the days as 0, the files were deleted that were posted at least 1 day earlier. But when I attach another file to slack and try to execute it again, it shows 'No file to delete'. (Though there are files to delete!)

I tried to set the days as 30, when the code runs, it shows the files are being deleted, but it never deleted the files. Please help!

On Fri, Dec 1, 2017 at 12:14 PM, Bradley Haveman [email protected] wrote:

Couple questions,

1: If I put 0 will it delete all files completely? 2: Does this delete ALL file, or just my files? 3: When I run it, it deletes all the files, then I run it immediately after and its does the same thing? Weren't those file deleted?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/egermano/slack-files-delete/issues/7#issuecomment-348553048, or mute the thread https://github.com/notifications/unsubscribe-auth/ASaBOcqe7MyDijrQucMO3L0ovQmSPkivks5s8DPagaJpZM4KHvfh .

shivavandana avatar Dec 02 '17 02:12 shivavandana