Rename and move #11

Merged
KevinMidboe merged 14 commits from rename_and_move into master 2017-06-27 22:03:14 +00:00

14 Commits

Author SHA1 Message Date
82d2e439fe Merge branch 'master' into rename_and_move 2017-06-28 00:03:04 +02:00
be839ba2dd Trying to fix bug with os.join, now has a two args, not list 2017-06-27 15:58:40 -06:00
f884406c06 Missed a syntax errro 2017-06-27 15:56:47 -06:00
04066b8da4 Now the full path is sent to fix ownership, not just the file path 2017-06-27 15:56:06 -06:00
34ab8be097 Fix_ownership got a list of files, now it iterates through this list and sends each item to the function 2017-06-27 15:53:52 -06:00
31e16e2784 Now the for loop actually goes through dir not just the string of file name. *facepalm* 2017-06-27 15:52:17 -06:00
7cda4accdb Added print for debugging purposes 2017-06-27 15:49:34 -06:00
7023b135b4 Now all subfiles also have their permission chagned. 2017-06-27 15:48:25 -06:00
979a95a468 Added a try except to remove and a todo to remind of need improvements. 2017-06-27 15:37:55 -06:00
c1cd821d8a Changed group id to the wanted value. 2017-06-27 15:33:50 -06:00
4b54339b72 Opps, changed to use the int value of uid and gid, not looking up the int value and then converting to int. Does not make sense. 2017-06-27 15:30:34 -06:00
8a53cc4765 Added todo for fix_ownership 2017-06-27 15:25:19 -06:00
3bc539323a Changed user and group id to the wanted value. 2017-06-27 15:24:49 -06:00
80746252c0 Added excepts to all move and delete, so it can be run mulitple times and see no downside to having it run and logging it if not found. Also think I fixed a bug that renamed the folder that would be deleted, not the new folder 2017-06-27 15:22:02 -06:00